FontNames Property

Applies To

Application object, Global object.

Description

Returns a FontNames object that includes the names of all the available fonts. Read-only.

See Also

Font property, LandscapeFontNames property, PortraitFontNames property.

Example

This example displays the font names in the FontNames collection.

For Each aFont In FontNames
    response = MsgBox(Prompt:=aFont, Buttons:=vbOKCancel)
    If response = vbCancel Then Exit For
Next aFont