title | keywords | f1_keywords | api_name | ms.assetid | ms.date | ms.localizationpriority | ||
---|---|---|---|---|---|---|---|---|
Window.Activate method (Word) |
vbawd10.chm157417572 |
|
|
d068e7a1-edb8-b244-a315-be1f92471f4c |
08/20/2018 |
medium |
Activates the specified window.
Note
If you are working with a document embedded within another document, this event will not occur.
expression.Activate
expression Required. A variable that represents a Window object.
This example activates the next window in the Windows collection.
Sub NextWindow()
'Two or more documents must be open for this statement to execute.
ActiveDocument.ActiveWindow.Next.Activate
End Sub
[!includeSupport and feedback]