Expand Minimize

Chart.ShowValueFieldButtons Property (Excel)

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

Version Added: Excel 2010

expression .ShowValueFieldButtons

expression A variable that represents a Chart object.

Return Value


Set the ShowValueFieldButtons property to True to display the Value Field buttons on the specified PivotChart. Set the property to False to hide the button.

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

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

ActiveSheet.ChartObjects("Chart 1").Activate 
ActiveChart.ShowValueFieldButtons = True
© 2015 Microsoft