Error When Macro Closes Its Own Workbook (108507)
The information in this article applies to:
- Microsoft Excel 97 for Windows
- Microsoft Excel 98 Macintosh Edition
This article was previously published under Q108507 SYMPTOMS
In Microsoft Excel, if a Microsoft Visual Basic for Applications procedure
is started by an OnSheetDeactivate command and the procedure then closes
the workbook in which it is contained, one of the following may occur:
CAUSE
This behavior occurs only if a sheet is deleted by clicking Delete Sheet on
the Edit menu or from the Sheet Tabs shortcut menu; it does not occur if a
sheet is deactivated by switching to another sheet.
STATUS
Microsoft has confirmed this to be a problem in the Microsoft products
listed at the beginning of this article.
Modification Type: | Minor | Last Reviewed: | 10/11/2006 |
---|
Keywords: | kbbug kbpending kbProgramming KB108507 |
---|
|