Count Property
Returns a Long containing the number of active windows.
Syntax
ActiveWindowList.Count
Parts
Name | Type | Description |
---|---|---|
ActiveWindowList | The name of an object of type ActiveWindowList |
ActiveWindowListtag:ActiveWindowList
Example
'
' Print a list of all active windows
'
Dim WindowList As New ActiveWindowList
Dim Index As Long
For Index = 1 to WindowList.Count
Debug.Print WindowList.Item(Index)
Next Index