Edit

Share via


Range.Dirty Method

Definition

Designates a range to be recalculated when the next recalculation occurs.

public:
 void Dirty();
public void Dirty ();
Public Sub Dirty ()

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.

Applies to