Examples:
The following VBA example hides CorelDRAW by setting the Visible property to False, and it then shows CorelDRAW by setting the Visible property to True. Message boxes display messages indicating the visibility of the application.
Sub ApplicationVisible()
Visible = False
MsgBox "CorelDRAW is hidden."
Visible = True
MsgBox "CorelDRAW is now visible."
End Sub
The following VBA example hides Corel DESIGNER by setting the Visible property to False, and it then shows Corel DESIGNER by setting the Visible property to True. Message boxes display messages indicating the visibility of the application.
Sub ApplicationVisible()
Visible = False
MsgBox "Corel DESIGNER is hidden."
Visible = True
MsgBox "Corel DESIGNER is now visible."
End Sub