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

Detecting Excel Application Activate event

Status
Not open for further replies.

SWadey

Programmer
Mar 10, 2006
1
GB
I have written a fairly extensive project in Excel using VBA which relies heavily on Userforms. All is fine until I move away from Excel (either to the desktop or another application) and then try to return to Excel. At this point, the active Userform is displayed over the last selected app without Excel being visible at all. Is there an Application.Activate event that I can trap to refresh Excel and display the app behind the Userform when then Taskbar Excel button is clicked. Workbook.Activate and Worksheet.Activate don't seem to have any effect.
Thanks in advance,
Steve
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top