TextRange.Count Property (PowerPoint)

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


expression. Count

expression A variable that represents a TextRange object.

Return value



This example closes all windows except the active window.

With Application.Windows

    For i = 2 To .Count



End With

See also

TextRange 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.