Underline Property

 

The Underline property returns or sets the font underline. Returns a Boolean.

 

Syntax

object.Underline

object.Underline = Underline

 

Parameter

Type

Description

Underline

Boolean

required; true to underline text

 

Example 1

This example returns the state of underlining text.

 

Debug.Print FontFormat.Underline

 

Example 2

This example underlines text.

 

FontFormat.Underline = True

 

Used by: FontFormat object