Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
insert macro in new workbook
Hi,
How can I create a new workbook from vba, execute some codes in it. But I also want to assign a macro in that new workbook. So I can put a before save macro inside this workbook. Cheers, David |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
insert macro in new workbook
David
Start here http://www.cpearson.com/excel/vbe.htm This page shows how to create code with code. Post back if you get stuck. -- Dick Kusleika MVP - Excel www.dicks-clicks.com Post all replies to the newsgroup. "Douvid" wrote in message ... Hi, How can I create a new workbook from vba, execute some codes in it. But I also want to assign a macro in that new workbook. So I can put a before save macro inside this workbook. Cheers, David |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
saving macro from workbook to Personal Macro Workbook | Excel Discussion (Misc queries) | |||
Combine worksheets in multiple workbook in one workbook with a macro | Excel Discussion (Misc queries) | |||
Macro to copy an image (or picture) from one workbook to a new sheetin another workbook | Excel Worksheet Functions | |||
Macro or OLE method to insert worksheet from template workbook | Excel Discussion (Misc queries) | |||
Runing a macro in a workbook from another macro in other workbook | Excel Discussion (Misc queries) |