Sending CANCEL command from VBA

#1
I'm looking for a way to send the cancel command to IntelliCAD from VBA. I tried using

Code: Select all

thisworkspace.application.runcommand()
with vbkeyescape and chr(27) as arguments, but IntelliCAD does not recognize their commands. I'm looking at trying to use something like vba.interaction.sendkeys, but not having much luck with that either.

Any ideas?