Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Using VB copy contents of a macro to workbook
Hi Everyone,
I'm using VB to create a excel workbook(book1).I have another exce workbook(book2) which contains a macro. Is it possible t programmatically copy the contents of the macro from book2 to book1? If yes, how should it be done? Thanks, Meen -- Message posted from http://www.ExcelForum.com |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Using VB copy contents of a macro to workbook
Hi Meena,
See Chip Pearson's discussion on adding modules with code http://www.cpearson.com/excel/vbe.htm --- Regards, Norman "jminu_2k " wrote in message ... Hi Everyone, I'm using VB to create a excel workbook(book1).I have another excel workbook(book2) which contains a macro. Is it possible to programmatically copy the contents of the macro from book2 to book1? If yes, how should it be done? Thanks, Meena --- Message posted from http://www.ExcelForum.com/ |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Using VB copy contents of a macro to workbook
Thanks a lot the the link,Norman.It was useful.
There is another requirement to prgrammatically add a user form to th created excel workbook(book1). Could you pls help in this regard -- Message posted from http://www.ExcelForum.com |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
copy entire contents worksheet into new workbook, link but editabl | Excel Discussion (Misc queries) | |||
Macro to copy an image (or picture) from one workbook to a new sheetin another workbook | Excel Worksheet Functions | |||
how do I copy the contents of a cell from one workbook to another | Excel Worksheet Functions | |||
Need a macro to copy a range in one workbook and paste into another workbook | Excel Programming | |||
Copy cell contents into Macro code | Excel Programming |