XL97: Implicitly Setting Value of Range Object Crashes ExcelID: Q221568
|
When you run a Microsoft Visual Basic for Applications macro, you may receive an error message similar to the following:
-or-EXCEL caused an invalid page fault in module <unknown> at 0000:000006ff.
An application error has occurred and an application log is being generated.
EXCEL.exe
Exception: access violation(0xc0000005), Address: 0x307de830
This problem may occur when the following conditions are true:
Range("A1") = 123
Microsoft has released a patch for Microsoft Excel that fixes this problem. See the "More Information" section later in this article for instructions on how to download and install this patch.
NOTE: This patch is designed to update Microsoft Excel 97
Service Release 2 (SR-2).
NOTE: This patch includes the fix for the CALL vulnerability problem. For additional information about the CALL vulnerability problem, please see the following article in the Microsoft Knowledge Base:
Q196791 XL97: Patch Available for Excel CALL Vulnerability
Microsoft 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
the Microsoft fee-based consulting line at (800) 936-5200. For more
information about the support options available from Microsoft, please see
the following page on the World Wide Web:
http://support.microsoft.com/support/
Range("A1").Value = 123
Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article.
xl8p5.exe
c:\windows\desktop\xl8p5.exe /p "path to Excel.exe"where path to Excel.exe is the complete path to Excel.exe. You must type the path to Excel.exe in quotation marks; for example, type the following:
"D:\Office\Excel.exe"Then, click OK.
path\xl8p5.exe /s"where path is the location of xl8p5.exe.
Microsoft Excel 97 SR-2 KB Article 221568 Patch - Patch RUP 99030801
Microsoft Excel has been patched successfully.
C:\Program Files\Microsoft Office\OfficeNOTE: If you are running Microsoft Excel 97 from a network server, Excel.exe is located on the network server.
File Application.Build/
Version About menu Version Application.Version
---------------------------------------------------------------------
Excel 97 SR-2 Excel 97 SR-2 8.0e 5618 / 8.0e
Excel 97 SR-2 Excel 97 SR-2(f) 8.0f 5619 / 8.0f
and Xl8p4.exe
Excel 97 SR-2 Excel 97 SR-2(g) 8.0g 5620 / 8.0g
and Xl8p5.exe
Additional query words: XL97 GPF IPF crash
Keywords : kbdta kbdtacode xlvbainfo xlgpf
Version : WINDOWS:97
Platform : WINDOWS
Issue type : kbbug
Last Reviewed: July 2, 1999