Skip to content

Latest commit

 

History

History
42 lines (27 loc) · 853 Bytes

Word.Window.Activate.md

File metadata and controls

42 lines (27 loc) · 853 Bytes
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
Window.Activate method (Word)
vbawd10.chm157417572
vbawd10.chm157417572
Word.Window.Activate
d068e7a1-edb8-b244-a315-be1f92471f4c
08/20/2018
medium

Window.Activate method (Word)

Activates the specified window.

Note

If you are working with a document embedded within another document, this event will not occur.

Syntax

expression.Activate

expression Required. A variable that represents a Window object.

Example

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]