PageColumns Property

Microsoft Word Visual Basic

expression.PageColumns

expression    Required. An expression that returns a Zoom object.

Example

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

With ActiveDocument.ActiveWindow.View
    .Type = wdPrintView
    .Zoom.PageColumns = 2
    .Zoom.PageRows = 1
End With
		

This example switches the document window for Hello.doc to print layout view and displays one full page.

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