Thread: AutoNew
View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Kas Kas is offline
external usenet poster
 
Posts: 1
Default AutoNew

I have created an Excel template that has a macro that
needs to run when the new spreadsheet is created. The
only way I could get to run was to place the code in the
the ThisWorkbook object using this subroutine Sub
Workbook_Open(). However, I only want this macro to run
when the spreadsheet is first created, not everytime it
opens. What should I be using to accomplish this? Any
help would be greatly appreciated.