XL97: Error Saving or Closing Files with Defined Names

ID: Q172709

The information in this article applies to:

SYMPTOMS

When you close or save a workbook in Microsoft Excel 97, you may receive the following error message:

   This program has performed an illegal operation and will be shut down.
   If the problem persists, contact the program vendor.

If you click Details, you receive an error message similar to either of the following:

   EXCEL caused an invalid page fault in module EXCEL.EXE at
   0137:301e048f.

   EXCEL caused an invalid page fault in module EXCEL.EXE at
   0137:30518c8e.

CAUSE

This problem may occur when all of the following conditions are true:

NOTE: The problem does not occur in earlier versions of Microsoft Excel. Also, the problem does not occur if the range referenced by Name1 uses absolute cell referencing (for example, =[Book2]Sheet1!$A$1:$B$5) or if Name2 does not use Name1 in a function (for example, =Name1, for example).

RESOLUTION

To work around this problem, do not define a name that refers to another defined name that refers to a relative or mixed relative cell range in another workbook. If possible, do not use relative or mixed relative cell references in defined names that refer to other workbooks.

STATUS

Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article.

Additional query words: XL97 ipf gpf

Keywords          : kberrmsg xlloadsave xlgpf xlformula 
Version           : WINDOWS:97
Platform          : WINDOWS
Issue type        : kbbug

Last Reviewed: November 6, 1998