ListBox.GridlineColor property (Access)

Gets or sets the color of the gridline for the specified list box. Read/write Long.

Syntax

expression.GridlineColor

expression A variable that represents a ListBox object.

Remarks

The GridlineColor property setting is a numeric expression that corresponds to the color that you want to use for a control's gridline.

Use the Color Builder to set this property by choosing the Build button to the right of the property box in the property sheet. Using the Color Builder enables you to define custom border colors for controls.

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.