LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #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.

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 11:25 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"