Pane.ViewType property (PowerPoint)
Returns the type of view for the specified pane. Read-only.
Syntax
expression. ViewType
expression A variable that represents a Pane object.
Return value
PpViewType
Remarks
The value of the ViewType property can be one of these PpViewType constants.
ppViewHandoutMaster |
ppViewMasterThumbnails |
ppViewNormal |
ppViewNotesMaster |
ppViewNotesPage |
ppViewOutline |
ppViewPrintPreview |
ppViewSlide |
ppViewSlideMaster |
ppViewSlideSorter |
ppViewThumbnails |
ppViewTitleMaster |
Example
If the view in the active pane is slide view, this example makes the notes pane the active pane. The notes pane is the third member of the Panes collection.
With ActiveWindow
If .ActivePane.ViewType = ppViewSlide Then
.Panes(3).Activate
End If
End With
See also
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.