XL97: Excel Object Is Not Closed After Running Macro
Article ID: 179028
Article Last Modified on 10/10/2006
APPLIES TO
- Microsoft Excel 97 Standard Edition
This article was previously published under Q179028
SYMPTOMS
When you close a document that contains a Microsoft Excel worksheet object,
the worksheet remains open in Excel.
CAUSE
This problem occurs when the following conditions are true:
- You open an Excel workbook object that has been inserted into a document
in another program (for example, Microsoft Word).
-and-
- You run a Visual Basic for Applications macro that adds a name to the
Names collection of the Excel workbook.
STATUS
Microsoft has confirmed this to be a problem in Microsoft Excel 97 for
Windows. This problem was corrected in Microsoft Office 97 Service Release
2 (SR-2).
For additional information about SR-2, please see the following article
in the Microsoft Knowledge Base:
151261 OFF97: How to Obtain and Install MS Office 97 SR-2
Additional query words: vba cannot access accessing
Keywords: kbbug kbdtacode kbprogramming kbqfe KB179028