property FormatGridLinesOptions.Style as Long
Defines the style of the line

TypeDescription
Long A long expression that defines the style of the line as one of the following values:
  • 0, solid
  • 1, dash
  • 2, dot
  • 3, dash-dot
  • 4, dash-dot-dot
By default, the Style property is 0(solid). The Style property defines the style of the line. The Color property specifies the line's color. The Width property specifies the line's width or size (1 by default). The Step property defines the step to show the grid lines. The Skip property specifies the number of grid lines to skip