WorksheetLine Property

The WorksheetLine property returns the AutoLine object for custom grid lines.

Syntax

object.WorksheetLine

object.WorksheetLine =WorksheetLine

Example

This example shows how to change the grid line color.

Set LineGridX = GridX.WorksheetLine

LineGridX.foreColor(grfColorRed)

 

Used by: AutoAxisGrid object