ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Creating Macro code dyanamically (https://www.excelbanter.com/excel-programming/352976-creating-macro-code-dyanamically.html)

shibuup

Creating Macro code dyanamically
 
Is there is any solution that I could create a new worksheet and insert some
VBA code inside that worksheet and save it.

Eg.
1. Create a Download.xls
2. Insert the cotent of the Download.xls from Currently
executing Sheet.
3. Insert some Macro code into the Download.xls, (Which
could capture events and take actions)
et..

Is there any solution for Step3?

Norman Jones

Creating Macro code dyanamically
 
Hi Shibuup,

See Chip Pearson's page on programming to the VBE at:

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


---
Regards,
Norman



"shibuup" wrote in message
...
Is there is any solution that I could create a new worksheet and insert
some
VBA code inside that worksheet and save it.

Eg.
1. Create a Download.xls
2. Insert the cotent of the Download.xls from Currently
executing Sheet.
3. Insert some Macro code into the Download.xls, (Which
could capture events and take actions)
et..

Is there any solution for Step3?





All times are GMT +1. The time now is 08:55 PM.

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