Window.View (Excel)

Returns or sets the view showing in the window. Possible return values are xlNormalView - Normal, xlPageBreakPreview - Page break preview, xlPageLayoutView - Page layout view.


ActiveWindow.View = xlNormalView