View Property
Applies To
Window object.
Description
Returns or sets the view showing in the window. Can be either of the following XlWindowView constants: xlNormalView or xlPageBreakPreview. Read/write Long.
Example
This example switches the view in the active window to page break preview.
ActiveWindow.View = xlPageBreakPreview