ShowMinorGridLines Property
ShowMinorGridLines returns or sets the show minor grid lines state. It has a Boolean value. When it is set to 'True', the minor grid lines are displayed. If it is set to 'False', the minor grid lines are hidden.
Syntax
object.ShowMinorGridLines
object.ShowMinorGridLines = Show
Parameter |
Type |
Description |
Show |
Boolean |
required |
Example 1
This example demonstrates how to return whether or not major grid lines perpendicular to an axis are displayed.
Debug.Print Axis.ShowMinorGridLines
Example 2
This example demonstrates how to display major grid lines perpendicular to an axis.
Axis.ShowMinorGridLines = True
Used by: Axis object