TomCarnahan
Programmer
I do most of my work in MS Access/VBA, but some of the work I do involves Excel/VBA.
One problem I have had in BOTH applications is that on loading, some quirk of the operating system I have at work, the wrong "add-ins" (in MS Access; "references") get "linked". In simpler terms, my applications plug into the wrong libraries/DLLs.
In MS Access, I found some information on "disambiguation" that basically says, start MS Access with a minimal procedure that has all references explicitly declared (e.g. Dim db as DAO.Database, Dim frm as Access.Form, etc.)
The first thing the procedure does is disconnect from all "add-ins/references" that are NOT built in. Then, it reads from a table and connects to the correct libraries and DLLs.
The problem I have is that in Excel, the nomenclature to do this is different and does not have the same methods available in MS Access.
Does anyone know how to start up Excel, disconnect all "add-ins", then load only pre-determined "add-ins" while avoiding errors due to syntax not being recognized?
Thanks ahead of time for any help you can provide.
--- Tom
One problem I have had in BOTH applications is that on loading, some quirk of the operating system I have at work, the wrong "add-ins" (in MS Access; "references") get "linked". In simpler terms, my applications plug into the wrong libraries/DLLs.
In MS Access, I found some information on "disambiguation" that basically says, start MS Access with a minimal procedure that has all references explicitly declared (e.g. Dim db as DAO.Database, Dim frm as Access.Form, etc.)
The first thing the procedure does is disconnect from all "add-ins/references" that are NOT built in. Then, it reads from a table and connects to the correct libraries and DLLs.
The problem I have is that in Excel, the nomenclature to do this is different and does not have the same methods available in MS Access.
Does anyone know how to start up Excel, disconnect all "add-ins", then load only pre-determined "add-ins" while avoiding errors due to syntax not being recognized?
Thanks ahead of time for any help you can provide.
--- Tom