Extending product function with VBA : System Architect collections : SAObjects class : Count
  
Count
The value representing the number of collection members.
Parameters
Data type: Long
Read-only
Example
Dim coll As SAObjects, i As Integer
Set coll = sa.Encyclopedia.GetAllDiagrams
coll.ReadAll
For i = 1 To coll.Count
Debug.Print coll.Item(i).Name
Next i
See also
SAObjects class