Chart.SetElement (Word)
Sets chart elements on a chart.
For charts, the following commands in the Layout tab correspond to the SetElement method:
SetElement (Element)
Element: One of the enumeration values that specifies the chart element type.
With ActiveDocument.InlineShapes(1)
If .HasChart Then
With .Chart
' Select the major gridlines on the value axis.
.Axes(xlValue).MajorGridlines.Select
.SetElement msoElementChartTitleCenteredOverlay
.SetElement msoElementPrimaryCategoryGridLinesMinor
' Select the walls.
.Walls.Select
.SetElement msoElementChartFloorShow
End With
End If
End With