Share via


Application.FocusInMailHeader Property

Word Developer Reference

True if the insertion point is in an e-mail header field (the To: field, for example). Read-only Boolean.

Syntax

expression.FocusInMailHeader

expression   A variable that represents an Application object.

Example

This example displays a message in the status bar if the insertion point is in an e-mail header field.

Visual Basic for Applications
  If Application.FocusInMailHeader = True Then
    StatusBar = "Selection is in message header"
End If

See Also