This documentation is archived and is not being maintained.

NamedRange.Dirty Method

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

Namespace:  Microsoft.Office.Tools.Excel
Assembly:  Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)

void Dirty()

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.

Show: