Window.View Property
Returns or sets the view showing in the window. Read/write XlWindowView.
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 |
|---|
|