Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Is this possible.
I Have two workbooks. Master.xls and Slave.xls Is it possible to call a form called MainMenu in Master.xls from a button on a sheet in Slave.xls -- Regards and Thanks for any assistance. Francis Brown. |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
You could have a subroutine in master.xls that shows the form:
Option explicit sub ShowTheForm() mainmenu.show end sub Then you could have a macro assigned to that commandbutton (from the control toolbox toolbar) that does the actual call. option explicit Private Sub CommandButton1_Click() application.run "master.xls!showtheform" end sub You could also assign this kind of macro to a button from the Forms toolbar. Or with the forms toolbar, you could just assign the macro in the master.xls workbook directly (rightclick and assign macro). ====== If you use the application.run stuff, then master.xls will have to be open. If you assign the macro to the forms button, then excel will open master.xls (if it's not already open). Francis Brown wrote: Is this possible. I Have two workbooks. Master.xls and Slave.xls Is it possible to call a form called MainMenu in Master.xls from a button on a sheet in Slave.xls -- Regards and Thanks for any assistance. Francis Brown. -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Custom 2 axis chart saved as template fails to load | Charts and Charting in Excel | |||
Won't load saved spreadsheets | Excel Discussion (Misc queries) | |||
I want user form to display when opening a work book | Excel Worksheet Functions | |||
Is there away to keep "auto save" from jumping to the first work sheet in the work book? | New Users to Excel | |||
recovering a lost book in excel that was not saved... | Excel Discussion (Misc queries) |