Skip to content

Latest commit

 

History

History
52 lines (32 loc) · 2.24 KB

Access.Form.DatasheetGridlinesColor.md

File metadata and controls

52 lines (32 loc) · 2.24 KB
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
Form.DatasheetGridlinesColor property (Access)
vbaac10.chm13403
vbaac10.chm13403
Access.Form.DatasheetGridlinesColor
92d07c1c-fc47-0049-7da3-a34ee56fbc83
03/12/2019
medium

Form.DatasheetGridlinesColor property (Access)

Use the DatasheetGridlinesColor property to specify the color of gridlines in a datasheet. Read/write Long.

Syntax

expression.DatasheetGridlinesColor

expression A variable that represents a Form object.

Remarks

The DatasheetGridlinesColor property applies only to objects in Datasheet view.

This property is only available in Visual Basic within a Microsoft Access database.

You can also use the RGB or QBColor functions to set this property.

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

The following table contains the properties that don't exist in the DAO Properties collection until you set them by using the Formatting (Datasheet) toolbar, or you can add them in an Access database by using the CreateProperty method and append it to the DAO Properties collection.

Properties Properties Continued
DatasheetFontItalic * DatasheetForeColor *
DatasheetFontHeight * DatasheetBackColor
DatasheetFontName * DatasheetGridlinesColor
DatasheetFontUnderline * DatasheetGridlinesBehavior
DatasheetFontWeight * DatasheetCellsEffect

Note

When you add or set any property listed with an asterisk, Access automatically adds all the properties listed with an asterisk to the Properties collection in the database.

[!includeSupport and feedback]