Worksheet.EnablePivotTable Property
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.
Gets or sets a value that indicates whether PivotTable controls and actions are enabled when user-interface-only protection is turned on.
public:
property bool EnablePivotTable { bool get(); void set(bool value); };
public bool EnablePivotTable { get; set; }
member this.EnablePivotTable : bool with get, set
Public Property EnablePivotTable As Boolean
Property Value
true
if PivotTable controls and actions are enabled when user-interface-only protection is turned on; otherwise, false
.
Remarks
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.