How can I check in VBA that a VBProject reference is available for Excel to use.
I run some code that needs a project reference to the "Microsoft DAO 3.51 Object Library" installed. I need to ensure that it is 'checked' ready for use, otherwise my code doesn't work.
The closest I have come is this .......
Application.VBE.ActiveVBProject.References.Item(?)
Any help would be appreciated.
I run some code that needs a project reference to the "Microsoft DAO 3.51 Object Library" installed. I need to ensure that it is 'checked' ready for use, otherwise my code doesn't work.
The closest I have come is this .......
Application.VBE.ActiveVBProject.References.Item(?)
Any help would be appreciated.