Font.Emboss Property

Word Developer Reference

True if the specified font is formatted as embossed. Read/write Long.

Syntax

expression.Emboss

expression   A variable that represents a Font object.

Remarks

Returns True, False, or wdUndefined. Can be set to True, False, or wdToggle. Setting Emboss to True sets Engrave to False, and vice versa.

Example

This example embosses the second sentence in a new document.

Visual Basic for Applications
  With Documents.Add.Content
    .InsertAfter "This is the first sentence. "
    .InsertAfter "This is the second sentence. "
    .Sentences(2).Font.Emboss = True
End With

This example embosses the selected text.

Visual Basic for Applications
  If Selection.Type = wdSelectionNormal Then
    Selection.Font.Emboss = True
Else
    MsgBox "You need to select some text."
End If

See Also