How to run an excel Macro in VB?

J

Jonx

Hello everyone, I have a macro already defined in an excel workbook. I
other words, if I open the workbook, and push alt+F8, it wil
automatically run the macro, I was curious how I would run this in VB?
I am creating a program in VB that populates the cells in the workboo
and then runs the script.

Help?

Thank
 
F

Frank Kabel

Hi
you may put your macro code in the workbook_open event. This way it
will automatically run at startup
 
Top