PageWindows Property

       

Returns the specified PageWindowEx object.

expression.PageWindows

expression   Required. An expression that returns one of the objects in the Applies To list.

Example

This example retrieves a page window that contains the page Spain.htm and sets the view mode to Preview.

Note   To run this procedure, you must have an open web that contains an open page called Spain.htm, or substitute a file of your choice.

Private Sub SetPagePreview()
	Dim myPage As PageWindowEx

	Set myPage = ActiveWebWindow.PageWindows("Spain.htm")
	myPage.ViewMode = fpPageViewPreview
End Sub