Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VBA AutoCAD Paste Special Dialog Box Supress 1

Status
Not open for further replies.

jkusnick

Programmer
Jun 21, 2007
5
US
I have written a VBA program in AutoCAD to open excel, copy a spreadsheet, and do a paste special into AutoCAD. It is a fairly automated process, but I cannot find a way to suppress the paste-special dialog box in AutoCAD. Does anyone know how to run the paste as link command directly from VBA???

As it is now, the program just sends the command "_pastespec" to the command line in AutoCAD via: ThisDrawing.SendCommand "_pastespec ".

Thank you in advance for a response.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top