Collapse the table of content
Expand the table of content
Expand Minimize

Window.View Property (Excel)

Returns or sets the view showing in the window. Read/write XlWindowView.

expression .View

expression A variable that represents a Window object.

XlWindowView can be one of these XlWindowView constants.

xlNormalView

xlPageBreakPreview

xlPageLayoutView

This example switches the view in the active window to page break preview.

ActiveWindow.View = xlPageBreakPreview
Show:
© 2015 Microsoft