_Application.PutFocusInMailHeader Method

Places the insertion point in the To line of the mail header if the document in the active window is an e-mail document.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

Syntax

'Declaration
Sub PutFocusInMailHeader
'Usage
Dim instance As _Application

instance.PutFocusInMailHeader()
void PutFocusInMailHeader()

Remarks

For best results, use the PutFocusInMailHeader method with the EnvelopeVisible property. When the EnvelopeVisible property is set to True, the PutFocusInMailHeader method will place the insertion point in the mail header.

See Also

Reference

_Application Interface

_Application Members

Microsoft.Office.Interop.Word Namespace