Missing AXDBLIB in VBA references from Excel VBA

Missing AXDBLIB in VBA references from Excel VBA

oransen
Collaborator Collaborator
1,861 Views
1 Reply
Message 1 of 2

Missing AXDBLIB in VBA references from Excel VBA

oransen
Collaborator
Collaborator

Hello all,

 

I'm asking this for a colleague.

 

He installed AutoCAD 2019 (upgrade from 2017) and his old VBA functions (in Excel at 32 bit) now don't work. In particular

 

Dim ThisDrawing as AcadDocument

 

gives a compile error, AcadDocument is not recognised as a type .

 

He seems to have all the required typelibs and references, but in the list of references there is a line which says:

 

MANCA: AXDBLib

 

...which in English would be...

 

MISSING: AXDBLib

 

Is that what is causing the problem? and if so how can it be fixed?

 

TIA

 

Owen

 

 

 

 

0 Likes
Accepted solutions (1)
1,862 Views
1 Reply
Reply (1)
Message 2 of 2

oransen
Collaborator
Collaborator
Accepted solution

A solution has been found. I was not present so I can only say exactly what was done, but activating and deactivating various AutoCAD references the "MISSING: AXDBLIB " itself went missing, and the compiler no longer chokes on AcadDocument.

 

0 Likes