Sub AppWindowActive() If AppWindow.Active Then MsgBox "CorelDRAW is currently active." Else MsgBox "CorelDRAW is not active at this time." End IfEnd Sub
Sub AppWindowActive() If AppWindow.Active Then MsgBox "Corel DESIGNER is currently active." Else MsgBox "Corel DESIGNER is not active at this time." End IfEnd Sub