Returns the PageWindowEx object of the Application or web window.
expression.ActivePageWindow
expression Required. An expression that returns one of the objects in the Applies To list.
The following example returns the PageWindowEx object for the Application object.
Private Sub GetActivePageWindow()
Dim myPageWindow As PageWindowEx
Set myPageWindow = ActivePageWindow
End Sub
The following example returns the PageWindowEx object from the WebWindowEx object.
Private Sub GetActivePageWindow()
Dim myPage As PageWindowEx
Set myPage = ActiveWebWindow.ActivePageWindow
End Sub