Syntax

expression.View

expression A variable that represents a Window object.

Remarks

XlWindowView can be one of these XlWindowView constants.
xlNormalView
xlPageBreakPreview

Example

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

Visual Basic for Applications
ActiveWindow.View = xlPageBreakPreview
View view property

See also: