Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
SheriTingle
 
Posts: n/a
Default Automatically run a macro

What do I name a macro to make it automatically run when the Excel file is
first opened? Thanks !
  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default

Either call it Auto_Open, or else put the code inside the Workbook_Open
event in the Thisworkbook code module.

--

HTH

RP
(remove nothere from the email address if mailing direct)


"SheriTingle" wrote in message
...
What do I name a macro to make it automatically run when the Excel file

is
first opened? Thanks !



  #3   Report Post  
Michael
 
Posts: n/a
Default

Hi SheriTingle. You can name the macro anything you want, you just have to
put it in the correct place. See this site for "Worksheet change events."
http://www.mvps.org/dmcritchie/excel/event.htm
--
Sincerely, Michael Colvin


"SheriTingle" wrote:

What do I name a macro to make it automatically run when the Excel file is
first opened? Thanks !

Reply
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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Macro to automatically run Pam C Excel Discussion (Misc queries) 1 May 5th 05 02:35 PM
automatically running a macro 42410 Excel Discussion (Misc queries) 2 April 26th 05 03:10 PM
Automatically run Macro tamato43 Excel Discussion (Misc queries) 0 March 30th 05 03:51 PM
How can I set up a Macro to automatically run when I open a speci. Rick Martin Excel Discussion (Misc queries) 1 January 13th 05 05:06 PM
Automatically launch a macro when a fil is opened One-Leg Excel Discussion (Misc queries) 1 December 15th 04 08:12 PM


All times are GMT +1. The time now is 03:43 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"