API Documentation
>
CorelDRAW
>
2025-v26
>
Workspace
>
IVGWorkspace
Workspace.Activate method
Activates the workspace
Syntax:
Sub
Activate
(
)
Remarks:
The
Activate
method makes a workspace the current one.
Examples:
The following VBA example sets the last workspace in the collection as the current workspace.
Sub Test() Workspaces.Item(Workspaces.Count).Activate End Sub