Table of contents
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.


expression. ActiveWindow

_expression_A variable that represents an Application object.


This example displays the active window's caption.

Sub CurrentCaption() 

 MsgBox ActiveDocument.ActiveWindow.Caption 

End Sub

See also


Application Object

© 2018 Microsoft