Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
opening toolbar with file
I have created a code that creates a toolbar within a file. However, it only
opens when I run a particular macro. I would like this toolbar routine to run automatically when the file is opened. My hope is that if I can get that to happen, I can email the file for people to use and they will have the necessary tool bars available. First, is my hope (assumption) correct? Second, how do I get a macro to run when a file is opened? TIA Papa |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
opening toolbar with file
Hi Papa
Run the code in this events in the thisworkbook module Private Sub Workbook_Activate() End Sub Private Sub Workbook_Deactivate() End Sub See this site for more information about events http://www.cpearson.com/excel/events.htm -- Regards Ron de Bruin http://www.rondebruin.nl "Papa Jonah" wrote in message ... I have created a code that creates a toolbar within a file. However, it only opens when I run a particular macro. I would like this toolbar routine to run automatically when the file is opened. My hope is that if I can get that to happen, I can email the file for people to use and they will have the necessary tool bars available. First, is my hope (assumption) correct? Second, how do I get a macro to run when a file is opened? TIA Papa |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Toolbar keeps opening up other workbook tempaltes | Excel Discussion (Misc queries) | |||
Keep toolbar from opening in worksheet | Excel Discussion (Misc queries) | |||
How to hide the outlook toolbar when opening an excel file | Excel Discussion (Misc queries) | |||
how to stop Reviewing toolbar from opening when I open a file | Excel Discussion (Misc queries) | |||
Toolbar on opening a workbook | Excel Programming |