API Documentation > CorelDRAW > 2025-v26 > Workspace > IVGWorkspace
Workspace.Active property
Gets the current workspace
Syntax:
Property Get Active() As Boolean
Remarks:
The Active property returns whether a workspace is currently active in CorelDRAW.
Examples:
The following VBA example displays a list of all workspaces and determines which one is active.
Sub Test()
Dim Ws As Workspace
For Each Ws In Workspaces
  s = s & Ws.Name & " - Active: " & Ws.Active & vbCr
Next Ws
MsgBox "Workspaces: " & vbCr & s 
End Sub