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 = 

Theme class variables can be set using the Application.OpenThemeFile procedure.


Returns the parent for the specified object. Read-only object.


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

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