Clase Theme (PowerPoint VBA)

La clase Theme representa un tema (una colección de colores, fuentes y efectos).

Para usar una variable de clase Theme, primero debe ser instanciado, por ejemplo

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

Las variables de tipo Theme se pueden establecer utilizando el procedimiento Application.OpenThemeFile

ThemeVariants

Devuelve una colección ThemeVariants que representa las variantes en el tema.

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