How to Create an Auto_Open Macro to Show Data Form Dialog Box (142113)
The information in this article applies to:
- Microsoft Excel 97 for Windows
- Microsoft Excel for Windows 95
- Microsoft Excel for Windows 5.0
This article was previously published under Q142113 SUMMARY
The following example uses an Auto_Open macro to select a specific sheet
in a workbook and automatically display the data form dialog box.
NOTE: A macro named "auto_open" will be run each time you manually open the
workbook that contains that macro.
REFERENCES
For more information about creating macros that run automatically in
Microsoft Excel versions 7.0 and 97, click Answer Wizard on the Help
menu and type:
How Do I Set Up a Workbook So That It Runs a Macro Each Time I
Open It?
For more information about creating macros that run automatically in
Microsoft Excel version 5.0, choose the Search button in Help and type:
auto open files
"Visual Basic User's Guide," version 5.0, Chapter 13, "Auto_Open
Procedures"
For additional information about getting help with Visual Basic for
Applications, please see the following article in the Microsoft Knowledge
Base:
ARTICLE-ID: 163435
TITLE : VBA: Programming Resources for Visual Basic for Applications
Modification Type: | Minor | Last Reviewed: | 10/11/2006 |
---|
Keywords: | kbdtacode kbhowto kbProgramming KB142113 |
---|
|