Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Use this property to set or return the unedited value of the BorderStyle property for a form or control. This property is useful if you need to revert to an unedited or preferred border style. Read/write Byte.
Syntax
expression.OldBorderStyle
expression A variable that represents an Attachment object.
Remarks
The OldBorderStyle property uses the following settings.
| Setting | Visual Basic | Description |
|---|---|---|
| Transparent | 0 | Transparent |
| Solid | 1 | (Default) Solid line |
| Dashes | 2 | Dashed line |
| Short dashes | 3 | Dashed line with short dashes |
| Dots | 4 | Dotted line |
| Sparse dots | 5 | Dotted line with dots spaced far apart |
| Dash dot | 6 | Line with a dash-dot combination |
| Dash dot dot | 7 | Line with a dash-dot-dot combination |
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.