This documentation is archived and is not being maintained.

WorksheetBase.EnablePivotTable Property

 

Gets or sets a value that indicates whether PivotTable controls and actions are enabled when user-interface-only protection is turned on.

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

public bool EnablePivotTable { get; set; }

Property Value

Type: System.Boolean

true if PivotTable controls and actions are enabled when user-interface-only protection is turned on; otherwise, false.

This property applies to each worksheet and is not saved with the worksheet or session.

There must be a sufficient number of unlocked cells below and to the right of the PivotTable report for Microsoft Office Excel to recalculate and display the PivotTable report.

Return to top
Show: