Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() I am trying to use an Excel User Form as a menu The form will have controls that open other workbooks. However I only want the Menu Form to display in the main workbook (Book1.xls), and when the next workbook opens (book2.xls) the form would not be presented. Once I open the form, it is displayed in front of all subsequent workbooks. How can I limit the display of the form to only the first workbook. Thanks in advance -- rmeix ------------------------------------------------------------------------ rmeix's Profile: http://www.excelforum.com/member.php...o&userid=27737 View this thread: http://www.excelforum.com/showthread...hreadid=472446 |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
in the code that displays the form, put an if statement against the
activeworkbook if Ucase(activeworkbook.Name) < "BOOK1.XLS" then exit sub ' show form -- Regards, Tom Ogilvy "rmeix" wrote in message ... I am trying to use an Excel User Form as a menu The form will have controls that open other workbooks. However I only want the Menu Form to display in the main workbook (Book1.xls), and when the next workbook opens (book2.xls) the form would not be presented. Once I open the form, it is displayed in front of all subsequent workbooks. How can I limit the display of the form to only the first workbook. Thanks in advance -- rmeix ------------------------------------------------------------------------ rmeix's Profile: http://www.excelforum.com/member.php...o&userid=27737 View this thread: http://www.excelforum.com/showthread...hreadid=472446 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Trying to get a User Form to activate off a drop down menu | Excel Discussion (Misc queries) | |||
Menu attached to a form? | Excel Programming | |||
Add Menu to a VBA Form | Excel Programming | |||
Opening a Form from send menu? | Excel Programming | |||
Right click menu in my form | Excel Programming |