Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Macro Running at Spreadsheet Start

Hi, I wish to load a macro I have created when the spreadsheet firs
loads up. Is this possible? If so, how do I go about it?


I would like to thank you in advance for any help

--
Message posted from http://www.ExcelForum.com

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Macro Running at Spreadsheet Start

use the following sub in one of your modules

Sub Auto_Open()

'Action to be done when the excel sheet starts
'enter your code here

end su

--
Message posted from http://www.ExcelForum.com

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 292
Default Macro Running at Spreadsheet Start

Hi

Rename the macro to
Sub Auto_open()
and it will. See also
http://www.cpearson.com/excel/events.htm
on events.

HTH. Best wishes Harald

"MWhitehead " skrev i melding
...
Hi, I wish to load a macro I have created when the spreadsheet first
loads up. Is this possible? If so, how do I go about it?


I would like to thank you in advance for any help.


---
Message posted from http://www.ExcelForum.com/



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Macro Running at Spreadsheet Start

Thanks a million!

- Mik

--
Message posted from http://www.ExcelForum.com

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
Running a Macro from a Spreadsheet Function Patrick (GVC) Excel Worksheet Functions 2 February 10th 08 12:30 PM
How to start a spreadsheet (inventory) kailuamike New Users to Excel 5 December 15th 05 08:37 PM
Start spreadsheet with WinXP start Gordon Gradwell Excel Worksheet Functions 1 July 13th 05 11:35 AM
Prevent A Macro From Running If SpreadSheet is Filtered carl Excel Worksheet Functions 1 June 22nd 05 04:04 PM
Running Macro when value in spreadsheet is true pgerrish Excel Programming 0 April 22nd 04 05:32 PM


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