Previous Document Next Document

Object Model Reference : Classes : W : Workspace : Properties : Workspace.Default


Workspace.Default

Property Default As Boolean

Description

Member of Workspace

The Default property returns whether the current workspace is the default workspace. If the default property is True, the current workspace is the default workspace.

The Default property returns a read-only value.

VBA example

The following VBA example displays a list of all workspaces and determines which one is the default workspace.

Sub Test()
 Dim Ws As Workspace
 For Each Ws In Workspaces
  s = s & Ws.Name & " - Default: " & Ws.Default & vbCr
 Next Ws
 MsgBox "Workspaces: " & vbCr & s
End Sub

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.