Application.FocusInMailHeader property (Word)
True if the insertion point is in an email 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 email header field.
If Application.FocusInMailHeader = True Then
StatusBar = "Selection is in message header"
End If
See also
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.