WebPageFont.FixedWidthFont property (Office)
Sets or gets the fixed-width font setting in the host application. Read/write.
Syntax
expression.FixedWidthFont
expression A variable that represents a WebPageFont object.
Remarks
When you set the FixedWidthFont property, the host application does not check the value for validity.
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
See also
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.