Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22
Default Have macro run automatically as soon as excel is opened.

I have a macro in excel. I open excel. Hit Alt+F8 and then I click on run.

Is it possible to have this macro run as soon as I open the excel workbook?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default Have macro run automatically as soon as excel is opened.

If you name the macro Auto_Open, it will run when the workbook is
opened.


"Dtown Dawg" wrote in
message
...
I have a macro in excel. I open excel. Hit Alt+F8 and then I
click on run.

Is it possible to have this macro run as soon as I open the
excel workbook?



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22
Default Have macro run automatically as soon as excel is opened.

Thanks for your help, and sorry if I caused frustration as I found this
answer posted about 10 different places after I posted the question.

Now is there code that I can add that will do the following:
1. Have a message pop up that says "Please be patient while Macro Runs"
2. Then have the macro close excel.

Thank you.
Dtown Dawg

"Chip Pearson" wrote:

If you name the macro Auto_Open, it will run when the workbook is
opened.


"Dtown Dawg" wrote in
message
...
I have a macro in excel. I open excel. Hit Alt+F8 and then I
click on run.

Is it possible to have this macro run as soon as I open the
excel workbook?




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
How to run a macro automatically when the file is opened? LunaMoon Excel Discussion (Misc queries) 1 April 24th 10 01:01 AM
Excel closes automatically when opened [email protected] Setting up and Configuration of Excel 2 January 4th 07 08:51 PM
Macro won't run in Excel 2000 when workbook opened via URL [email protected] Excel Programming 0 March 29th 06 10:52 PM
How do I set an excel macro to run when the spreadshet is opened MH UK Excel Programming 1 February 15th 06 04:17 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 09:14 AM.

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

About Us

"It's about Microsoft Excel"