FixedWidthFontSize Property
Sets or returns the fixed-width font size setting in the host application, in points. Read/write Single.
Remarks
When you set the FixedWidthFontSize property, the host application does not check the value for validity. If you enter an invalid value, such as a nonnumber, the host application sets the size to 0 points. You can enter half-point sizes; if you enter other fractional point sizes, they are rounded up or down to the nearest half-point.
Example
This example sets the fixed-width font and fixed-width font size for the English/Western European/Other Latin Script character set in the active application.
Application.DefaultWebOptions. _
Fonts(msoCharacterSetEnglishWesternEuropeanOtherLatinScript) _
.FixedWidthFont = "System"
Application.DefaultWebOptions. _
Fonts(msoCharacterSetEnglishWesternEuropeanOtherLatinScript) _
.FixedWidthFontSize = 12
Applies to | WebPageFont Object