Compartilhar via


Find.Font Property (Word)

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.

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

See Also

Concepts

Find Object Members

Find Object