Application.PortraitFontNames 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 a FontNames object that includes the names of all the available portrait fonts.

expression .PortraitFontNames

expression A variable that represents an Application object.

This example inserts a list of portrait fonts at the insertion point.

For Each aFont In PortraitFontNames 
 With Selection 
 .Collapse Direction:=wdCollapseEnd 
 .InsertAfter aFont 
 .Collapse Direction:=wdCollapseEnd 
 End With 
Next aFont