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

Form.DatasheetColumnHeaderUnderlineStyle 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 the bottom edge of the column headers on the specified datasheet. Read/write.

Syntax

expression. DatasheetColumnHeaderUnderlineStyle

expression A variable that represents a Form object.

Remarks

Valid values are between zero and eight. Values greater than eight 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
8Double solid

Example

This example sets the column header underline style for the first open form to sparse dots. The form must be set to Datasheet View in order for you to see the change.

Forms(0).DatasheetColumnHeaderUnderlineStyle = 5 

See also

Concepts

Form Object

© 2017 Microsoft