Underline Property

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

Syntax

object.Underline

object.Underline = Underline

 

Parameter Type Description
Underline Boolean required, true to use the underline style

 

Example 1

This example demonstrates how to return whether or not a font is underlined.

Debug.Print FontFormat.Underline

 

Example 2

This example demonstrates how to underline a font.

FontFormat.Underline = True

 

Used by: AutoMFont object