PageColumns Property

Applies To

Zoom object.

Description

Returns or sets the number of pages to be displayed side by side on-screen at the same time in page layout view or print preview. Read/write Long.

See Also

PageRows property.

Example

This example switches the active window to page layout view and displays two pages side by side.

With ActiveWindow.View
    .Type = wdPageView
    .Zoom.PageColumns = 2
    .Zoom.PageRows = 1
End With
This example switches the document window for Hello.doc to page layout view and displays one full page.

With Windows("Hello.doc").View
    .Type = wdPageView
    With .Zoom
        .PageColumns = 1
        .PageRows = 1
        .PageFit = wdPageFitFullPage
    End With
End With