title | keywords | f1_keywords | api_name | ms.assetid | ms.date | ms.localizationpriority | ||
---|---|---|---|---|---|---|---|---|
Form.VerticalDatasheetGridlineStyle property (Access) |
vbaac10.chm13515 |
|
|
b0174311-f03b-aa6a-b15a-697f6be1b2ac |
03/15/2019 |
medium |
Returns or sets a Byte indicating the line style to use for vertical gridlines on the specified datasheet. Read/write.
expression.VerticalDatasheetGridlineStyle
expression A variable that represents a Form object.
Valid values are between zero and seven. Values greater than seven are ignored; negative values or values above 255 cause an error.
Value | Description |
---|---|
0 | Transparent border |
1 | Solid |
2 | Dashes |
3 | Short dashes |
4 | Dots |
5 | Sparse dots |
6 | Dash-dot |
7 | Dash-dot-dot |
This example sets the vertical gridline style on the first open form to dashes. The form must be set to Datasheet view for you to see the change.
Forms(0).VerticalDatasheetGridlineStyle = 2
[!includeSupport and feedback]