Line object (Access)
The line control displays a horizontal, vertical, or diagonal line on a form or report.
You can use the BorderWidth property to change the line width. You can use the BorderColor property to change the color of the border or make it transparent. You can change the line style (dots, dashes, and so on) of the border by using the BorderStyle property.
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.