Table of contents
TOC
Collapse the table of content
Expand the table of content

Form.VerticalDatasheetGridlineStyle Property (Access)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

Returns or sets a Byte indicating the line style to use for vertical gridlines on the specified datasheet. Read/write.

Syntax

expression. VerticalDatasheetGridlineStyle

expression A variable that represents a Form object.

Remarks

Valid values are between zero and seven. Values greater than seven are ignored; negative values or values above 255 cause an error.

ValueDescription
0Transparent border
1Solid
2Dashes
3Short dashes
4Dots
5Sparse dots
6Dash-dot
7Dash-dot-dot

Example

This example sets the vertical gridline style on the first open form to dashes. The form must be set to Datasheet View in order for you to see the change.

Forms(0).VerticalDatasheetGridlineStyle = 2 

See also

Concepts

Form Object

© 2018 Microsoft