Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Auto Activate Macro in Excel 2000

Status
Not open for further replies.

thgma2

Technical User
Jul 12, 2000
2
0
0
GB
How do I create a macro in Excel 2000 that auto runs when the file is opened? [sig][/sig]
 
This should be the same as previous versions of Excel. You can use the Auto_Open Macro to run code upon opening a file, assuming the user Enables Macros.

Sub Auto_Open()
'Do your stuff here
End Sub

Hope this helps!
[sig][/sig]
 
The code needs to be placed on the This Workbook modual using VBE. [sig][/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top