Skip to content

Latest commit

 

History

History
49 lines (28 loc) · 1.29 KB

PowerPoint.Panes.md

File metadata and controls

49 lines (28 loc) · 1.29 KB
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
Panes object (PowerPoint)
vbapp10.chm630000
vbapp10.chm630000
PowerPoint.Panes
a6fe4d77-dff2-6e90-1df6-eb281bc46fa6
06/08/2017
medium

Panes object (PowerPoint)

A collection of Pane objects that represent the slide, outline, and notes panes in the document window for normal view, or the single pane of any other view in the document window.

Remarks

In normal view, the Panes collection contains three members. All other document window views have only a single pane, resulting in a Panes collection with one member.

Example

Use the Panes property to return the Panes collection. The following example tests for the number of panes in the active window. If the value is one, indicating any view other that normal view, then normal view is activated and the vertical pane divider is set to divide the document window at 15% outline pane and 85% slide pane.

With ActiveWindow

    If .Panes.Count = 1 Then

        .ViewType = ppViewNormal

        .SplitHorizontal = 15

    End If

End With

See also

PowerPoint Object Model Reference

[!includeSupport and feedback]