Axis.MajorGridlines (PowerPoint)

Returns the major gridlines for the specified axis.

Only axes in the primary axis group can have gridlines.


Dim grdsMajorGridlines As Gridlines
Set grdsMajorGridlines = ActivePresentation.Slides(1).Shapes(1).Chart.Axes(1).MajorGridlines