Excel 2003 - How to set up autostart macro?

  • Thread starter Thread starter flumpf
  • Start date Start date
Put this in the ThisWorkbook code module of personal.xls:

Private Sub Workbook_Open()
MyMacro
End Sub

where MyMacro is the name of your macro which is stored in a regular
code module in personal.xls.
 

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