Message 1 of 4
Autocad _VBA

Not applicable
12-04-2020
12:13 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi
I try to update the AutoCAD attribute by excel VBA uses the below code.
Dim acadApp As AcadApplication
'On Error Resume Next
Set acadApp = GetObject(, AcAppClID)
If acadApp Is Nothing Then
Set acadApp = CreateObject(AcAppClID)
End If
acadApp.Visible = False
Dim Document As AcadDocument
i get the error message "run-time error 429 activex component can't create object"
Pls help