TextBox.GridlineColor property (Access)
Gets or sets the color of the gridline for the specified text box. Read/write Long.
expression A variable that represents a TextBox object.
The GridlineColor property setting is a numeric expression that corresponds to the color that you want to use for a control's gridline.
You can 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.