ThemeName Property

Microsoft Word Visual Basic

Show All

ThemeName Property

       

Returns or sets the name of the theme plus any theme formatting options to use for new e-mail messages. Read/write String.

Remarks

For an explanation of the value returned by this property, see the Name argument of the ApplyTheme method. The value returned by this property may not correspond to the theme's display name as it appears in the Theme dialog box. To return a theme's display name, use the ActiveThemeDisplayName property.

You can also use the GetDefaultTheme and SetDefaultTheme methods to return and set the default theme for new e-mail messages.

Example

This example sets Microsoft Word to use the Blueprint theme with Vivid Colors for all new e-mail messages.

Application.EmailOptions.ThemeName = "blueprnt 100"