FocusInMailHeader Property
TOC
Collapse the table of content
Expand the table of content

Application.FocusInMailHeader Property (Word)

Office 2013 and later
GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

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

expression .FocusInMailHeader

expression A variable that represents an Application object.

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
Show:
© 2016 Microsoft