Table of contents
TOC
Collapse the table of content
Expand the table of content

Application.ActiveWindow Property (Publisher)

office 365 dev account|Last Updated: 8/24/2017
|
3 Contributors

Returns a Window object that represents the window with the focus. Because Microsoft Publisher only has one window, there is only one Window object to return.

Syntax

expression. ActiveWindow

_expression_A variable that represents an Application object.

Example

This example displays the active window's caption.

Sub CurrentCaption() 

 MsgBox ActiveDocument.ActiveWindow.Caption 

End Sub

See also

Concepts

Application Object

© 2018 Microsoft