Table of contents
TOC
Collapse the table of content
Expand the table of content

Shapes.Count Property (PowerPoint)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

Returns the number of objects in the specified collection. Read-only.

Syntax

expression. Count

expression A variable that represents a Shapes object.

Return Value

Long

Example

This example closes all windows except the active window.

With Application.Windows

    For i = 2 To .Count

        .Item(2).Close

    Next

End With

See also

Concepts

Shapes Object

© 2018 Microsoft