Represents major or minor gridlines on a chart axis. You cannot have gridlines without an axis. Gridlines extend the tick marks on a chart axis to make it easier to see the values associated with the data markers. This object is not a collection. There is no object that represents a single gridline; you either have all gridlines for an axis turned on or all of them turned off.
Using the WCGridlines Object
The following properties return a WCGridlines object.
The WCAxis object’s MajorGridlines property
The WCAxis object’s MinorGridlines property