×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Opening AutoCAD 2011 from Excel

Opening AutoCAD 2011 from Excel

Opening AutoCAD 2011 from Excel

(OP)
My company has a spreadsheet in Excel that contains data and a macro for creating a drawing in AutoCAD. In previous versions of AutoCAD, the macro worked great. However, when trying to update the macro to communicate with AutoCAD 2011, it doesn't work, We get an error and when we click Debug, the line shown below is highlighted:

app = "AutoCAD.r19.DDE"
chan = DDEInitiate(app, "System")

Can someone help in what might be causing this error and how to correct it?

Thanks.

RE: Opening AutoCAD 2011 from Excel

(OP)
I'm sorry IRstuff, I don't understand your question. What do you mean "Does "app" exist as written"?

RE: Opening AutoCAD 2011 from Excel

(OP)
I'm not sure if that's the correct app, and also don't where to find the correct app for AutoCAD 2011.

RE: Opening AutoCAD 2011 from Excel

(OP)
It's not the AutoCAD revision that I don't know. We're using AutoCAD release 2011. It's the DDE topic name for AutoCAD release 2011 that I don't know and don't were to find it. From what I understand, the DDE topic name is different than the actual Software name.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources