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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Bring userform in front of all windows

Status
Not open for further replies.

wmbb

Technical User
Jul 17, 2005
320
NL
I'm creating a WORD macro to read data from an excel workbook for using in a userform.
The excel sheet needs to stay open.
When I open the userform after the excel application, the form is opened behind the excel application and is not visible.
How do I open the userform in front of all windows ?
 
No, the userform is in WORD.
Opening an excel application within the userform will take the userform to the background (behind the excel application).
I've solved the problem now by opening the excel application hidden...
Code:
xlApp.Visible = False
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top