How to make a macro that automatically starts when you open a workbook in Excel 2000 (265113)
The information in this article applies to:
This article was previously published under Q265113 SUMMARY One way to automatically run a macro when you open a
workbook is to use the Workbook_Open event in Microsoft Excel. Workbook_Open is
a built-in workbook event that runs its macro code each time you manually open
the workbook.
The following example uses the Workbook_Open event to
run a macro when you open the workbook. REFERENCES
For additional information about using auto
macros and events, click the following article numbers to view the articles in the Microsoft Knowledge Base:
213624
How to create an Auto_Open macro
to show the Data Form dialog box in Excel 2000
213581 XL: Code "behind" worksheet or
workbook may not work
213220 XL2000: Summary of Workbook and Worksheet Application Events
211626 XL2000:
EnableEvents property does not work in Automation server
For more information about how to use an auto open event, in the Visual Basic Editor, click Microsoft Visual Basic Help on the Help menu, type workbook object events in the Office Assistant or the Answer Wizard, and then click Search to view the topic.
Modification Type: | Minor | Last Reviewed: | 10/11/2006 |
---|
Keywords: | kbAutomation kbdtacode kbhowto kbProgramming KB265113 |
---|
|