DocumentWindow.Panes property (PowerPoint)
Returns a Panes collection that represents the panes in the document window. Read-only.
Syntax
expression.Panes
expression A variable that represents a DocumentWindow object.
Return value
Panes
Example
This example tests for the number of panes in the active window. If the value is one, indicating any view other that normal view, normal view is activated.
If ActiveWindow.Panes.Count = 1 Then
ActiveWindow.ViewType = ppViewNormal
End If
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.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for