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.
Example
This example switches the view in the active window to page break preview.
ActiveWindow.View = xlPageBreakPreview