GridlineColorIndex Property

Applies To

Window Object.

Description

Returns or sets the gridline color as an index into the current color palette. Read-write.

Remarks

Set this property to xlAutomatic to specify the automatic color.

See Also

Colors Property, DisplayGridlines Property, GridlineColor Property.

Example

This example sets the active window gridline color to blue.


ActiveWindow.GridlineColorIndex = 5