Export (0) Print
Expand All

Find.Font Property (Word)

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

expression .Font

expression A variable that represents a Find object.

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

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

Concepts

Other resources

Show:
© 2014 Microsoft