DatasheetGridLinesColor Property

Applies To

Form, Query, Table.

Description

You can use the DatasheetGridLinesColor property to specify the color of grid lines in a datasheet.

Note The DatasheetGridLinesColor property applies only to objects in Datasheet view.

Setting

The DatasheetGridLinesColor property setting is a numeric expression using a Long Integer data type. In Visual Basic, you can also use the RGB or QBColor functions to set this property.

You can set this property using the Formatting toolbar (in Datasheet view), a macro, or Visual Basic.

You can also set this property by choosing Cells from the Format menu.

You can set the default DatasheetGridLinesColor property using the Datasheet tab of the Options dialog on the Tools menu.

Remarks

This property setting affects the grid line color for the entire datasheet. It’s not possible to set the grid line color of individual cells in Datasheet view.

See Also

DatasheetCellsEffect Property, DatasheetGridLinesBehavior Property.