Share via


NamedRange.Dirty Method

Definition

Designates the NamedRange control to be recalculated when the next recalculation occurs.

public:
 void Dirty();
public void Dirty ();
abstract member Dirty : unit -> unit
Public Sub Dirty ()

Remarks

The Calculate method forces the NamedRange control to be recalculated, for cells that Microsoft Office Excel understands as needing recalculation.

If the application is in manual calculation mode, using the Dirty method instructs Excel to identify the NamedRange control to be recalculated. If the application is in automatic calculation mode, using the Dirty method instructs Excel to perform a recalculation.

Applies to