Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default How can I have a macros automatically run when I open up the file.

See subject line
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,173
Default How can I have a macros automatically run when I open up the file.

Owen

In versions after 95 use the Workbook_Open() event. In 95 and previous
(still supported in later versions) use and Auto_Open() macro

If you need help implementing, post back

--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England
HIS


"Owen" wrote in message
...
See subject line



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22,906
Default How can I have a macros automatically run when I open up the file.

Sub WorkBook_Open()

yourmacroname

End Sub

Gord Dibben Excel MVP

On Wed, 29 Sep 2004 13:35:03 -0700, "Owen"
wrote:

See subject line


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
Macros - Open an access file from de Excel? Teresa Barrocas Excel Discussion (Misc queries) 1 November 3rd 09 12:53 PM
Open file with macros David T Excel Discussion (Misc queries) 2 November 29th 07 06:23 PM
How can I save or open file as YYYYMMDD in Macros Vijay Kotian Excel Discussion (Misc queries) 1 September 4th 06 08:33 AM
Opening a file and enabling macros automatically Fernandoalberte Excel Discussion (Misc queries) 1 June 29th 05 12:31 PM
Automatically open excel file after log in Emkay Excel Discussion (Misc queries) 1 January 27th 05 11:36 PM


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