Microsoft KB Archive/169971

= XL97: Page Fault Editing Formula That Returns #NULL! Error =

Article ID: 169971

Article Last Modified on 10/22/2000

-

APPLIES TO


 * Microsoft Excel 97 Standard Edition

-



This article was previously published under Q169971



SYMPTOMS
In Microsoft Excel 97, if you select a cell that contains a formula that returns a #NULL! error value and you click the formula bar, 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 the following:

EXCEL caused an invalid page fault in module EXCEL.EXE at 0137:3024d6bf.



CAUSE
This problem occurs if the following conditions are true:

 The formula in question contains a reference to two cells or to defined names that do not have any cells in common.

For example, the following formula refers to the defined name "Test," which refers to cell C3, and the cell A1:

=Test A1

As a result, the formula returns a #NULL! error value. -and-

 You turn off in-cell editing in Microsoft Excel 97 by following these steps:

 On the Tools menu, click Options. Then, click the Edit tab. Click to clear the "Edit directly in cell" check box. Click OK.

-and-

 Before clicking the formula bar, you double-click the cell that contains the formula, and then click to select the same cell.</li></ul>

<div class="resolution_section">

RESOLUTION
To work around this problem, use either of the following methods:

<ul> Select in-cell editing in Microsoft Excel 97 by following these steps:

 On the Tools menu, click Options. Then, click the Edit tab.</li> Click to select the "Edit directly in cell" check box.</li> Click OK.</li></ol>

-or-</li> If you double-click a cell that contains a formula that returns a #NULL! error value, edit another cell (make any change) before you click the cell that contains the formula, and then click the formula bar.</li></ul>

<div class="status_section">

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

<div class="moreinformation_section">

MORE INFORMATION
In Microsoft Excel 97, if you turn off in-cell editing and double-click a cell that contains a formula, Microsoft Excel automatically selects the cells and/or defined names that are referred to by the formula in the cell. This feature allows you to quickly determine which cells are referenced by a formula.

Additional query words: XL97 0137:3024e096 0137:3024dae4

Keywords: kberrmsg kbprb KB169971

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.