FocusInMailHeader Property

Microsoft Word Visual Basic

FocusInMailHeader Property

       

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

Example

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

If Application.FocusInMailHeader = True Then
    StatusBar = "Selection is in message header"
End If