Skip to content

Latest commit

 

History

History
74 lines (46 loc) · 1.28 KB

PowerPoint.Pane.ViewType.md

File metadata and controls

74 lines (46 loc) · 1.28 KB
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
Pane.ViewType property (PowerPoint)
vbapp10.chm631005
vbapp10.chm631005
PowerPoint.Pane.ViewType
6114b581-a9f5-a4b7-827e-99004fea4e58
06/08/2017
medium

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

Pane Object

[!includeSupport and feedback]