Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

XL2000: How to Manually Recalculate a Single Cell or Range


View products that this article applies to.

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.

↑ Back to the top


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 Microsoft Advisory Services. For more information, visit these Microsoft Web sites:

Microsoft Certified Partners - https://partner.microsoft.com/global/30000104

Microsoft Advisory Services - http://support.microsoft.com/gp/advisoryservice

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

  1. Be sure that calculation is set to Manual. To do this, follow these steps:
    1. Click Options on the Tools menu.
    2. Click the Calculation tab, and then click the Manual option button.
    3. Click OK to accept the change.
  2. On the Edit menu, click Replace.
  3. In the Find what box, type the equal sign (=), and then in the Replace with box, type =.
  4. Click Replace (not Replace All).
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
				

↑ Back to the top


Keywords: KB213490, kbprogramming, kbhowto, kbdtacode

↑ Back to the top

Article Info
Article ID : 213490
Revision : 8
Created on : 11/23/2006
Published on : 11/23/2006
Exists online : False
Views : 300