NamedRange.Dirty Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.