Class Pane (PowerPoint VBA)
An object representing one of the three panes in normal view or the single pane of any other view in the document window. To use a Pane class variable it first needs to be instantiated, for example
Dim pan as Pane
Set pan = ActiveWindow.ActivePane
Activate
Activates the specified object.
ActiveWindow.ActivePane.Activate
Active
Returns whether the specified pane or window is active.
The value returned by the Active property can be one of these MsoTriState constants.
Dim mtsActive As Office.MsoTriState
mtsActive = ActiveWindow.ActivePane.Active
ViewType
Returns the type of view for the specified pane. Here you can find possible values for
The value of the ViewType property can be one of these PpViewType constants.
Dim pvtViewType As PpViewType
pvtViewType = ActiveWindow.ActivePane.ViewType