Edit

Share 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

Find Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.