Previous Document Next Document

Object Model Reference : Classes : W : Windows : Properties : Windows.Count


Windows.Count

Property Count As Long

Description

Member of Windows

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

The Count property returns a read-only value.

VBA example

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

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.