XL98: How to Create and Use a Workbook_BeforeClose Procedure (193663)
The information in this article applies to:
- Microsoft Excel 98 Macintosh Edition
This article was previously published under Q193663 SUMMARY
If you want to run a Visual Basic for Applications macro every time a
particular workbook is closed, you can attach a Visual Basic procedure to
the BeforeClose event of the workbook. This article contains an example
that illustrates how to use the BeforeClose event.
REFERENCES
For more information about using the BeforeClose event, from the Visual
Basic Editor, click the Office Assistant, type beforeclose, click Search,
and then click to view "BeforeClose Event."
NOTE: If the Assistant is hidden, click the Office Assistant button on the
Standard toolbar. If the Assistant is not able to answer your query, please
see the following article in the Microsoft Knowledge Base:
176476 OFF: Office Assistant Not Answering Visual Basic Questions
Modification Type: | Major | Last Reviewed: | 6/17/2005 |
---|
Keywords: | kbdtacode kbhowto KB193663 |
---|
|