Count Property

See Also Applies To Example Model

Returns the number of elements in a collection. Read only Long.

Example

The following example prints the number of Bot objects in a Group "BlueTeam" to the Visual Basic Debug window.

Debug.Print BlueTeam.Count