Underline Property
Underline returns or sets the underline style. It adds a horizontal line under the text. It has a Boolean value 'True', when the text is underlined and 'False', when the text is not underlined.
Syntax
object.Underline
object. Underline = Underline
Parameter |
Type |
Description |
Underline |
Boolean |
required |
Example 1
This example demonstrates how to return whether or not a text is underlined.
Debug.Print FontFormat.Underline
Example 2
This example demonstrates how to underline a font.
FontFormat.Underline = True
Used by: FontFormat object