Bewerken

Delen via


Chart.ShowAllFieldButtons property (Excel)

Returns or sets whether to display all field buttons on a PivotChart. Read/write.

Syntax

expression.ShowAllFieldButtons

expression A variable that represents a Chart object.

Return value

Boolean

Remarks

Set the ShowAllFieldButtons property to True to display all field buttons on the specified PivotChart. Set the property to False to hide all field buttons.

The ShowAllFieldButtons property corresponds to the Hide All command on the Field Buttons drop-down list of the Analyze tab, which is available when a PivotChart is selected.

Example

The following code example sets Chart 1 to display all field buttons.

ActiveSheet.ChartObjects("Chart 1").Activate 
ActiveChart.ShowAllFieldButtons = True

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.