Startup Macro?

  • Thread starter Thread starter grep
  • Start date Start date
G

grep

How do I set up a macro to start up when the spreadsheet opens? Can this
be done in a template?

Thanks,

David
 
grep

Workbook_open() or Auto_open() sub.

Private Sub Workbook_Open()
'do your stuff or call a macro
End Sub

Workbook_Open() sub would be placed into the ThisWorkbook module.

Auto_Open() sub would be placed into a General module.

Yes, it can be done in a Template.

Gord Dibben Excel MVP
 
Back
Top