Overkill

Overkill

Anonymous
Not applicable
409 Views
2 Replies
Message 1 of 3

Overkill

Anonymous
Not applicable

Hello!

When you execute the command OVERKILL, a window appears. How to press OK using VBA?

0 Likes
Accepted solutions (1)
410 Views
2 Replies
Replies (2)
Message 2 of 3

seabrahenrique
Advocate
Advocate
Accepted solution

Hello!

 

Consider to use the variation "-overkill" instead "overkill" in your code. (With the "-").

 

You also can combine that proposal with the "hadent" option in comand line, something like that:

 

 

ThisDrawing.SendCommand "_-overkill (handent """ & MyLine.Handle & """) " & vbCrLf

 

 

And then, u can "overkill" the line and press enter without the window appears.

 

I hope can help 🙂

 

Message 3 of 3

Anonymous
Not applicable

@seabrahenrique Thank you! The hyphen(-) at the start of the command really helped.

0 Likes