Object Model Reference : Classes : W : Windows : Properties : Windows.Count |
Property Count As Long
Member of Windows
The Count property returns the number of windows in a Windows collection.
The Count property returns a read-only value.
The following VBA example displays the number of windows in the Windows collection of the active document.
Sub Test() |
MsgBox "There are: " & ActiveDocument.Windows.Count & _ |
" windows in the Windows collection." |
End Sub |
Copyright 2013 Corel Corporation. All rights reserved.