Range.Dirty Method
Excel Developer Reference |
Designates a range to be recalculated when the next recalculation occurs.
Syntax
expression.Dirty
expression A variable that represents a Range object.
Remarks
The Calculate method forces the specified range to be recalculated, for cells that Microsoft Excel understands as needing recalculation.
If the application is in manual calculation mode, using the Dirty method instructs Excel to identify the specified cell to be recalculated. If the application is in automatic calculation mode, using the Dirty method instructs Excel to perform a recalculation.
Example
In this example, Microsoft Excel enters a formula in cell A3, saves the changes, and then recalculates cell A3.
Visual Basic for Applications |
---|
|
See Also