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

Excel Userform Focus Problem

Status
Not open for further replies.

TopJack

Programmer
Mar 10, 2001
153
GB
Previously I had an Excel 97 file that would open a modal form (main menu), then after user interaction, open another modal form (sub menu) over the top of the original form. This would work fine in Excel 97.

Now in Excel 2003 the sub menu form randomly decides if it will show over the top of the main menu or behind it. Obviously when behind it causes a problem.

How can I gaurantee the newly opened form is on top everytime?

I've tried setting focus without much luck. I want to avoid hiding the main menu before the sub menu opens. Any ideas ?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top