Link Search Menu Expand Document

SSpread.GridColor Property

Sets the color of the grid lines in the spreadsheet.

Specify a color constant or #RRGGBB format. The initial value is $ STD (light gray).

To show / hide the grid lines, use the GridShowHoriz and GridShowVert properties.

The grid line type can be set with the GridSolid property.

In the initial state, the grid lines are filled with the background color of the cells specified by the BackColor property. The display order of the background color and grid lines can be changed with the BackColorStyle property.

Example of usage

GridColor = $DCYAN;
GridColor = "#007CA0";

Related Items
BackColor, BackColorStyle, GridShowHoriz, GridShowVert, GridSolid property