Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Return focus to active document with userform still open

Status
Not open for further replies.

syl93

Programmer
May 17, 2002
15
0
0
US
This should be a simple thing to do, but I can't seem to get it to work.

I have a non-modal userform with a button on it. I want to display the userform and keep it displayed while focus is returned to the document so I can edit it and then press the button on the userform to select a different part of the document to edit.

I thought that just calling Activate on the document would do this, but it doesn't seem to be working.

Any suggestions would be appreciated.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top