Class Theme (PowerPoint VBA)

The class Theme represents a theme (a collection of colors, fonts, and effects). To use a Theme class variable it first needs to be instantiated, for example


Dim thm as Theme
Set thm = Dim strthemeFileName As String: strthemeFileName = 
Application.OpenThemeFile(themeFileName:=strthemeFileName)

ThemeVariants

Returns a ThemeVariants collection that represents the variations in the theme.


Dim tvsThemeVariants As ThemeVariants
Set tvsThemeVariants = Application.OpenThemeFile.ThemeVariants