Szerkesztés

Megosztás a következőn keresztül:


Shapes.Count property (PowerPoint)

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

Shapes Object

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.