The Stack Overflow question, Link Outlook to Access, has a detailed answer that starts with adding a reference to "Microsoft Office x.0 Access database engine Object Library". In Outlook VBA, my references list has two items:
- Microsoft Office 16.0 Access Database Engine Object Library
- C:\Program Files\Common Files\Microsoft Shared\OFFICE16\ACEDAO.DLL
- Microsoft Access 16.0 Object Library
- C:\Program Files\Microsoft Office\root\Office16\MSACC.OLB
The first one is clearly what Thomas G's answer is referring to, but the second one looks extremely similar. They are both for the same version of Microsoft Access.
Note that the references for Excel and Outlook are only:
- Microsoft Excel 16.0 Object Library
- C:\Program Files\Microsoft Office\root\Office16\EXCEL.EXE
- Microsoft Outlook 16.0 Object Library
- C:\Program Files\Microsoft Office\root\Office16\MSOUTL.OLB
There is no other library whose name starts with "Microsoft Office 16.0" besides the one for Access.
What is the difference between these two libraries? Under what circumstances would I use one or the other?