Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
How do I write code to "Workbook_Open" from within a VBA?
I have a macro that sets up a new workbook and adds macros to it.
To do that, I export a module and then import it into the new file. My question is how I can use VBA in the master workbook to VBA code to the new Workbook's "Workbook_Open" VBA? I'm only talking about 1 line to call up a dialog box so hopefully it's not that difficult. Thanks MikeZz |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
How do I write code to "Workbook_Open" from within a VBA?
See this webpage Mike
http://www.cpearson.com/excel/vbe.aspx -- Regards Ron de Bruin http://www.rondebruin.nl/tips.htm "MikeZz" wrote in message ... I have a macro that sets up a new workbook and adds macros to it. To do that, I export a module and then import it into the new file. My question is how I can use VBA in the master workbook to VBA code to the new Workbook's "Workbook_Open" VBA? I'm only talking about 1 line to call up a dialog box so hopefully it's not that difficult. Thanks MikeZz |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
How do I write code to "Workbook_Open" from within a VBA?
Wow, all is there! Thanks!
|
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
How do I write code to "Workbook_Open" from within a VBA?
Wow, Thanks for the quick reply.
Don't have time to read it now but it looks like a site I had linked before but I recently lost my favorites. "Ron de Bruin" wrote: See this webpage Mike http://www.cpearson.com/excel/vbe.aspx -- Regards Ron de Bruin http://www.rondebruin.nl/tips.htm "MikeZz" wrote in message ... I have a macro that sets up a new workbook and adds macros to it. To do that, I export a module and then import it into the new file. My question is how I can use VBA in the master workbook to VBA code to the new Workbook's "Workbook_Open" VBA? I'm only talking about 1 line to call up a dialog box so hopefully it's not that difficult. Thanks MikeZz |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
how to write formula for countif (range,"<2" &"3") | Excel Discussion (Misc queries) | |||
How do I write an excel formula with a text answer ("yes" or "no") | Excel Discussion (Misc queries) | |||
is it possitle i write"1"and "one" will show in next coloumn. | Excel Discussion (Misc queries) | |||
Using "Cells" to write "Range("A:A,H:H").Select" | Excel Programming | |||
How can i write a vba code to get string or integer "C15" from $c$15? | Excel Programming |