Share via


EmailOptions.ComposeStyle Property

Word Developer Reference

Returns a Style object that represents the style used to compose new e-mail messages. Read-only.

Syntax

expression.ComposeStyle

expression   A variable that represents a EmailOptions object.

Example

This example displays the name of the default style used to compose new e-mail messages.

Visual Basic for Applications
  MsgBox Application.EmailOptions.ComposeStyle.NameLocal

This example changes the font color of the default style used to compose new e-mail messages.

Visual Basic for Applications
  Application.EmailOptions.ComposeStyle.Font.Color = _
    wdColorBrightGreen

See Also