ViewType Property
Applies To
DocumentWindow object.
Description
Returns or sets the type of the view contained in the specified document window. Can be one of the following PpViewType constants: ppViewHandout, ppViewHandoutMaster, ppViewNotesMaster, ppViewNotesPage, ppViewOutline, ppViewSlide, ppViewSlideMaster, ppViewSlideShow, ppViewSlideSorter, or ppViewTitleMaster. Read/write Long.
Example
This example changes the view in the active window to slide sorter view if the window is currently displayed in slide view.
With Application.ActiveWindow
If .ViewType = ppViewSlide Then .ViewType = ppViewSlideSorter
End With