Article ID: 176242 - Last Review: November 23, 2006 - Revision: 2.3 XL97: Access Violation or Page Fault Closing a Microsoft Excel Worksheet ObjectThis article was previously published under Q176242 On This PageSYMPTOMS
When you activate a Microsoft Excel worksheet object and then click "Close &
Return to <Document>," where <Document> is the name of the document that
contains the Microsoft Excel worksheet object, you may receive an error
message that is similar to one of the following.
Microsoft Windows 95
This program has performed an illegal operation and will be
shut down. If the problem persists, contact the program vendor.
Excel caused an invalid page fault in module Excel.exe at
015f:3005a618.
Microsoft Windows NT
Dr. Watson for Windows NT An application error has occurred and an application error log is being generated. Excel.exe Exception: access violation (0xc0000005), Address 0x3005a618. CAUSE
This problem may occur if the following conditions are true:
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
(http://support.microsoft.com/kb/151261/EN-US/
)
OFF97: How to Obtain and Install MS Office 97 SR-2
MORE INFORMATIONMicrosoft provides programming examples for illustration only, without warranty either expressed or implied, including, but not limited to, the implied warranties of merchantability and/or fitness for a particular purpose. This article assumes that you are familiar with the programming language being demonstrated and the tools used to create and debug procedures. Microsoft support professionals can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific needs. If you have limited programming experience, you may want to contact a Microsoft Certified Partner or Microsoft Advisory Services. For more information, visit these Microsoft Web sites: Microsoft Certified Partners - https://partner.microsoft.com/global/30000104 (https://partner.microsoft.com/global/30000104) Microsoft Advisory Services - http://support.microsoft.com/gp/advisoryservice (http://support.microsoft.com/gp/advisoryservice) For more information about the support options that are available and about how to contact Microsoft, visit the following Microsoft Web site:http://support.microsoft.com/default.aspx?scid=fh;EN-US;CNTACTMS (http://support.microsoft.com/default.aspx?scid=fh;en-us;cntactms) Example of the ProblemTo see an example of this problem, follow these steps.Create the WorkbookBeforeClose Event Handler
Inserting Excel Objects into a Word DocumentTo insert the Excel objects, follow these steps:
| Article Translations
|

Back to the top
