XL: How to Create and Use an Auto_Close Procedure (141563)
The information in this article applies to:
- Microsoft Excel for Windows 5.0
- Microsoft Excel for Windows 5.0c
- Microsoft Excel for Windows NT 5.0
- Microsoft Excel for the Macintosh 5.0
- Microsoft Excel for the Macintosh 5.0a
- Microsoft Excel for Windows 95
- Microsoft Excel 97 for Windows
This article was previously published under Q141563 SUMMARY
An Auto_Close procedure is an automatic procedure stored in a workbook that runs automatically when the workbook is closed. You can place automatic procedures in any Microsoft Visual Basic for Applications module in the workbook. A workbook-level automatic procedure is identified by its name (that is, Auto_Close or Auto_Open) as it appears in the module.
REFERENCES
For more information about Auto_Close procedures, click the Index tab in Microsoft Excel Help, type the following text
and then double-click the selected text to go to the "Running
procedures when you open or close a workbook" topic.
"Microsoft Excel Visual Basic Programmer's Guide," pages 208-210
"Microsoft Excel Visual Basic User's Guide," version 5.0, pages 266-267
Modification Type: | Minor | Last Reviewed: | 10/11/2006 |
---|
Keywords: | kbdtacode kbhowto kbProgramming KB141563 |
---|
|