DefaultWebOptions.Fonts property (Excel)
Returns the WebPageFonts collection representing the set of fonts Microsoft Excel uses when you open a webpage in Excel and there is either no font information specified on the webpage, or the current default font can't display the character set on the webpage. Read-only.
expression A variable that represents a DefaultWebOptions object.
This example sets the default fixed-width font for the English/Western European/Other Latin Script character set to Courier New, 14 points.
With Application.DefaultWebOptions _ .Fonts(msoCharacterSetEnglishWesternEuropeanOtherLatinScript) .FixedWidthFont = "Courier New" .FixedWidthFontSize = 14 End With
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.