View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Norman Jones Norman Jones is offline
external usenet poster
 
Posts: 5,302
Default 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/