Share via


PivotCache.EnableRefresh Property

True if the PivotTable cache or query table can be refreshed by the user. The default value is True.

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

Syntax

'Declaration
Property EnableRefresh As Boolean
    Get
    Set
'Usage
Dim instance As PivotCache
Dim value As Boolean

value = instance.EnableRefresh

instance.EnableRefresh = value
bool EnableRefresh { get; set; }

Property Value

Type: System.Boolean

Remarks

The RefreshOnFileOpen property is ignored if the EnableRefresh property is set to False.

For OLAP data sources, setting this property to False disables updates.

See Also

Reference

PivotCache Interface

PivotCache Members

Microsoft.Office.Interop.Excel Namespace