Previous Document Next Document
Windows.Count

Property Count As Long

Member of Windows

The Count property returns the number of windows in the Windows collection.

The Count property returns a read-only value.

The following code 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 

Previous Document Next Document Back to Top

Copyright 2007 Corel Corporation. All rights reserved.