Emboss Property

Microsoft Word Visual Basic

Emboss Property

       

True if the specified font is formatted as embossed. Returns True, False, or wdUndefined. Can be set to True, False, or wdToggle. Read/write Long.

Remarks

Setting Emboss to True sets Engrave to False, and vice versa.

Example

This example embosses the second sentence in a new document.

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.

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