FontName

concerns

The fontName attribute sets or determines the name of the font.

 

Syntax

FontName

Return value

String

Parameter

None

 

Example:

 

Dim Fnt As Font

Fnt.Bold := True

MsgBox(Fnt.FontName)

#Shows MS Sans Serif