WebPageFont object (Office)

Represents the default font used when documents are saved as webpages for a particular character set.

Remarks

Use the WebPageFont object to describe the proportional font, proportional font size, fixed-width font, and fixed-width font size for any available character set.

Example

The following example sets the proportional font and proportional font size for the WebPageFont object's "myFont".

With myFont 
 ProportionalFont = Verdana 
 ProportionalFontSize = 14

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.