Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Adding code to workbook_open at runtime
How would one go about adding code to the thisworkbook object at runtime so
that a workbook_open macro is added. I want to be a able to create a blank workbook, add data to it and then add a workbook_open macro that will of course run when open. if it is not possible to add code to thisworkbook object, is there another way to accomplish this. Any ideas? any links to pages with working with vbaprojects? thanks, ben |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Adding code to workbook_open at runtime
http://www.cpearson.com/excel/vbe.htm
that link works fine, I love answering my own questions. :-p thanks anyway for anyone who looked "ben" wrote: How would one go about adding code to the thisworkbook object at runtime so that a workbook_open macro is added. I want to be a able to create a blank workbook, add data to it and then add a workbook_open macro that will of course run when open. if it is not possible to add code to thisworkbook object, is there another way to accomplish this. Any ideas? any links to pages with working with vbaprojects? thanks, ben |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Workbook_Open code help | Excel Discussion (Misc queries) | |||
Deleting Workbook_Open code | Excel Discussion (Misc queries) | |||
Removing Workbook_Open code | Excel Programming | |||
Removing Workbook_Open code | Excel Programming | |||
problem with code in workbook_open event | Excel Programming |