HasMajorGridlines Property Example

This example turns off major gridlines on the specified axis.

Set c = ChartSpace1.Constants
ChartSpace1.Charts(0).Axes(c.chAxisPositionLeft).HasMajorGridlines = False