Macro

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I was wondering if there is a way I can have a macro run automatically
everytime I open the excel workbook I put the macro in.
 
Yes.
Say you called your macro 'MyMacro'.
In the Workbook_Open event of the 'ThisWorkbook' module, call your macro.
HTH,
 
Rename your Macro to "Auto_Open".
ie.
Sub Auto_Open()
'Code Here
End Sub
 
Thank you very much guys. I put your ideas together and I was able to solve
my problem. Thanks once again.
 

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