Window.View procedure builder

Window.View (Excel)

Returns or sets the view showing in the window.

xlNormalView - Normal, xlPageBreakPreview - Page break preview, xlPageLayoutView - Page layout view.
ActiveWindow.View = xlNormalView