Message 1 of 6
EXCEL 2010 VBA AUTOCAD
Not applicable
01-01-2012
10:59 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
I am in Excel 2010 VBA editor.
I am trying the simple code below (Autocad IS running, I am just trying to access it in order to build some objects)
Public Sub GETACAD()
Dim acadApp As AcadApplication
Set acadApp = GetObject(, "AutoCAD.Application")
End Sub
It gives me the following error message:
user-defined type not defined.
Any problems with the new EXCEL 2010?
What am I missing?
Please advise
Thank you
Tuli