Microsoft KB Archive/213490

= XL2000: How to Manually Recalculate a Single Cell or Range =

Article ID: 213490

Article Last Modified on 11/23/2006

-

APPLIES TO


 * Microsoft Excel 2000 Standard Edition

-



This article was previously published under Q213490





SUMMARY
In Microsoft Excel 2000, the Calculate Now command (on the Tools menu, click Options, and then click the Calculation tab) causes every cell in the open worksheet to be recalculated, even when the calculation mode is set to Manual.

This article discusses three ways to recalculate a single cell or range without causing the entire document to be recalculated.



MORE INFORMATION
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 a Microsoft Certified Partner or the Microsoft fee-based consulting line at (800) 936-5200. For more information about Microsoft Certified Partners, please visit the following Microsoft Web site:

https://partner.microsoft.com/global/30000104

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

Method 1: Recalculate Using F2
To recalculate a single cell, follow these steps:
 * 1) Position the insertion point in the cell that you want to recalculate.
 * 2) Press the F2 key.
 * 3) Press ENTER.

To recalculate only the cells in a single array, follow these steps:
 * 1) Select one cell in the array.
 * 2) On the Edit menu, click Go To, and then click Special.
 * 3) Click the Current array option, and then click OK.
 * 4) Press F2.
 * 5) Press CTRL+SHIFT+ENTER. The formula in the array is re-entered, and the values returned are updated.

Method 2: Recalculate Using Replace
 Be sure that calculation is set to Manual. To do this, follow these steps:  Click Options on the Tools menu. Click the Calculation tab, and then click the Manual option button. Click OK to accept the change.  On the Edit menu, click Replace.</li> In the Find what box, type the equal sign (=), and then in the Replace with box, type =.</li> Click Replace (not Replace All).</li></ol>

NOTE: To recalculate a selected range rather than a single cell, click Replace All.

Method 3: Visual Basic Code Example
To recalculate the active cell on the active worksheet, use the following procedure: Sub Calc ActiveCell.Calculate End Sub To recalculate a range on the active worksheet, use the following procedure: Sub Calc_Range Range("A1:D1").Calculate End Sub

Additional query words: XL2000

Keywords: kbdtacode kbhowto kbprogramming KB213490

-

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

© Microsoft Corporation. All rights reserved.