Window.SetFocus Method

Sets the focus of the specified document window to the body of an e-mail message.

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

Syntax

'Declaration
Sub SetFocus
'Usage
Dim instance As Window

instance.SetFocus()
void SetFocus()

Remarks

If the document isn't an e-mail message, this method has no effect.

See Also

Reference

Window Interface

Window Members

Microsoft.Office.Interop.Word Namespace