S
Slow Flyer
I am writing in VBA using Word.
If I run UserForm1 with no code, UserForm1 becomes the
active window (as expected).
But if UserForm1 includes the suggested code for the use
of msoFileDialogOpen, UserForm1 is no longer the active
window once it is run and the open file selection made.
Instead Word becomes the active window. UserForm1 has to
be clicked to make it the active window again.
How can I make UserForm1 automatically the active window
again (instead of word) following use of
msoFileDialogOpen?
If I run UserForm1 with no code, UserForm1 becomes the
active window (as expected).
But if UserForm1 includes the suggested code for the use
of msoFileDialogOpen, UserForm1 is no longer the active
window once it is run and the open file selection made.
Instead Word becomes the active window. UserForm1 has to
be clicked to make it the active window again.
How can I make UserForm1 automatically the active window
again (instead of word) following use of
msoFileDialogOpen?