Returns or sets the view showing in the window. Read/write XlWindowView.
XlWindowView can be one of these XlWindowView constants. |
xlNormalView |
xlPageBreakPreview |
expression.View
expression Required. An expression that returns one of the objects in the Applies To list.
This example switches the view in the active window to page break preview.
ActiveWindow.View = xlPageBreakPreview