How to run an excel Macro in VB?

  • Thread starter Thread starter Jonx
  • Start date Start date
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
 
Hi
you may put your macro code in the workbook_open event. This way it
will automatically run at startup
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top