thisdrawing.sendcommand 执行 rectang命令
<p>Sub LSLS()<br/> Dim pp(0 To 2) As Double<br/> pp(0) = 1: pp(1) = 2<br/> TT = "(COMMAND " & Chr(34) & "RECTANG" & Chr(34) & " )" </p><p>用"""代替chr(34)<br/> TT = "(COMMAND " & """RECTANG"""<br/> TT = TT & "(LIST " & pp(0) & " " & pp(1) & ") "<br/> TT = TT & "(LIST " & pp(0) + 10 & " " & pp(1) + 10 & "))"<br/> ThisDrawing.SendCommand TT & vbCr</p><p>End Sub<br/></p> 不到不得已,不要用SendCommend方法,会造成程序执行顺序错乱。 干什么?
页:
[1]