ID: Q148614
The information in this article applies to:
In Microsoft Excel version 5.0, when you use the Replace command (Edit menu) on a spreadsheet or a cell range that contains long formulas, you may receive one of the following error messages, depending on the version of Microsoft Excel you are using:
Excel caused a General Protection Fault in module EXCEL.EXE at
009E:1EB9
Excel caused a General Protection Fault in module EXCEL.EXE at
00A4:1F4B
Exception: access violation (0xc0000005), Address: 0x4903050f
-or-
Exception: access violation (0xc0000005), Address: 0x00049a5a
The application "unknown" has unexpectedly quit, because an error of
type xx occurred.
NOTE: "xx" can be 1 or 15.
Sorry, a system error occurred. "Microsoft Excel" error type 11
This problem occurs because Microsoft Excel may replace a portion of long formulas that have a length of approximately 500 characters or more.
To work around this problem, use any of the following methods.
Manually edit the long formulas to make the changes.
Split the long formulas into smaller ones that are less than 500 characters each.
To replace text in long formulas without having to redesign or split the formulas up, you can copy the formulas into a word processor or text editor (such as Microsoft Word or Write) that has replace capabilities, and replace the text there. (Note that tabs must be preserved when dealing with more than 1 column of formulas). Then, copy and paste the replaced formulas back to the spreadsheet. To do this, use the following steps:
1. On the Tools menu in Microsoft Excel, click Options.
2. Click the View tab. Select the Formulas check box, and then click OK.
3. Select the range of cells that contain the long formulas, and on the
Edit menu, click Copy.
4. Switch to a text editor or word processor, and paste the formulas into
the word processor, and perform a replace operation.
5. Copy the changed formulas back to the Clipboard.
6. Switch back to Microsoft Excel, and on the Edit menu, click Paste.
7. On the Tools menu, click Options.
8. Click the View tab. Clear the Formulas check box, and then click OK.
NOTE: Array formulas that are in the modified range will not be preserved. You will have to re-enter them as array formulas (CTRL+SHIFT+ENTER for Windows or COMMAND+RETURN for Macintosh).
Microsoft has confirmed this to be a problem in the above products. This problem is corrected in Microsoft Excel for Windows 95, version 7.0, Microsoft Excel 97, and Microsoft Excel 98 Macintosh Edition.
Additional query words: 5.00 5.00a 5.00c gpf fault crash freeze hang
Keywords : kberrmsg
Version : WINDOWS:5.0,5.0c; MACINTOSH:5.0,5.0a
Platform : MACINTOSH WINDOWS
Issue type : kbprb
Last Reviewed: February 4, 1998