Previous Document Next Document

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


Workspaces.Count

Property Count As Long

Description

Member of Workspaces

The Count property returns the number of workspaces in the Workspaces collection.

The Count property returns a read-only value.

VBA example

The following VBA example displays a message box with the number of workspaces in CorelDRAW.

Sub WorkspacesCount()
 MsgBox "There are " & Workspaces.Count & " workspaces in the collection."
End Sub

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.