Move 'focus' from User Screen to Active Document

E

Ed

I have an User Form with a dropdown list of values. I can click in a
value from a drop down list into the active document.

After I click in the value from the list, I want to immediately begin
typing in the document. However, after the click on the list, the list
retains focus. I have tried ActiveDocument.Activate at the end of the list's
change event (to try to shift the focus to the active document) but it
didn't work. (BTW: if I step through the commands with F8,
'ActiveDocument.Activate' does work. It just doesn't work when the program
is in full operation.

I have also tried 'Windows(ActiveDocument).SetFocus' and
'ActiveWindow.Activate'. Didn't work.

Any hints? Thanks.

Ed
 
H

Helmut Weber

Hi Ed,

set userform properties showmodal to false
plus
Application.activate

Greetings from Bavaria, Germany
Helmut Weber, MVP
"red.sys" & chr(64) & "t-online.de"
Word 2002, Windows 2000
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top