Axis.HasMajorGridlines Property
Excel Developer Reference |
True if the axis has major gridlines. Only axes in the primary axis group can have gridlines. Read/write Boolean.
Syntax
expression.HasMajorGridlines
expression A variable that represents an Axis object.
Example
This example sets the color of the major gridlines for the value axis in Chart1.
Visual Basic for Applications |
---|
|
See Also