ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   create new macro in new workbook (https://www.excelbanter.com/excel-programming/273828-create-new-macro-new-workbook.html)

Randy[_7_]

create new macro in new workbook
 
Hi Everyone,
In VBA / Excel is it possible to have a macro in
workbook1 create a file named workbook2 and have the
macro in workbook1 add a macro to workbook2?

What functions can do this ?

tia,
Randy

Jim Rech

create new macro in new workbook
 
Chip Pearson has a page on programming the VBE.

http://www.cpearson.com/excel/vbe.htm

--
Jim Rech
Excel MVP



Randy[_8_]

create new macro in new workbook
 
Thanks for the great link - exactly what i need.

Randy
-----Original Message-----
Chip Pearson has a page on programming the VBE.

http://www.cpearson.com/excel/vbe.htm

--
Jim Rech
Excel MVP


.



All times are GMT +1. The time now is 03:44 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com