ThemeFonts object (Office)

Represents a collection of major and minor fonts in the font scheme of a Microsoft Office theme.

Example

The following example sets a ThemeFonts object to a minor theme font.

Dim tTheme As OfficeTheme 
Dim tfThemeFonts As ThemeFonts 
Set tfThemeFonts = tTheme.ThemeFontScheme.MinorFont 

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.