Sub LSLS() Dim pp(0 To 2) As Double pp(0) = 1: pp(1) = 2 TT = "(COMMAND " & Chr(34) & "RECTANG" & Chr(34) & " )" 用"""代替chr(34) TT = "(COMMAND " & """RECTANG""" TT = TT & "(LIST " & pp(0) & " " & pp(1) & ") " TT = TT & "(LIST " & pp(0) + 10 & " " & pp(1) + 10 & "))" ThisDrawing.SendCommand TT & vbCr End Sub
|