Top10.CalcFor Property

Returns or sets how the conditional format in a PivotTable report should be evaluated.

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

Syntax

'Declaration
Property CalcFor As XlCalcFor
    Get
    Set
'Usage
Dim instance As Top10
Dim value As XlCalcFor

value = instance.CalcFor

instance.CalcFor = value
XlCalcFor CalcFor { get; set; }

Property Value

Type: Microsoft.Office.Interop.Excel.XlCalcFor
XlCalcFor

Remarks

This property is applicable only when the conditional format is being applied to data in a PivotTable report.

This property can be set to xlAllValues, xlColGroups, or xlRowGroups only if the Top10.ScopeType property is set to xlFieldsScope.

See Also

Reference

Top10 Interface

Top10 Members

Microsoft.Office.Interop.Excel Namespace