Access Runtime Error 2001 when Reference: microsoft outlook 16.0 object Library is included on Runtime Only PCs
I was experimenting with sending emails from Access. So the code I found online I needed the Reference: microsoft outlook 16.0 object Library
But when I have this reference checked off as included. The PCs that have runtime only without any office including no Outlook I get a AutoExec Error of 2001.
My main PC works fine that has Outlook and full Access 2016 .
How can I work around this and why is this throwing an error 2001?
Is it because the other PCs do NOT have Outlook software on the PCs or what?