Range.Font Property (Word)

Office 2013 and later

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

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 Range object.

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

This example removes bold formatting from the Heading 1 style in the active document.

ActiveDocument.Styles(wdStyleHeading1).Font.Bold = False

This example switches the font of the second paragraph in the active document between Arial and Times New Roman.

Set myRange = ActiveDocument.Paragraphs(2).Range 
If myRange.Font.Name = "Times New Roman" Then 
 myRange.Font.Name = "Arial" 
 myRange.Font.Name = "Times New Roman" 
End If


Other resources