Find.Font Property

Word Developer Reference

Returns or sets a Font object that represents the character formatting of the specified object. Read/write Font.

Syntax

expression.Font

expression   A variable that represents a Find object.

Remarks

To set this property, specify an expression that returns a Font object.

Example

This example finds the next range of text that's formatted with the Times New Roman font.

Visual Basic for Applications
  With Selection.Find
    .ClearFormatting
    .Font.Name = "Times New Roman"
    .Execute FindText:="", ReplaceWith:="", Format:=True, _
        Forward:=True
End With

See Also