troubleshooting Question

MS ACCESS file show error [Error in Loading DLL] in VBA code that sends email via outlook

Avatar of iymanb
iymanb asked on
Outlook* dllVBAMicrosoft Access
9 Comments4 Solutions168 ViewsLast Modified:
I need to put VBA code in MS ACCESS file to send emails,
I used the date type outlook.applicatoin,

I get error message : [that user-defined type NOT defined]
So I go Tools>References and click checkbox "Microsoft Outlook 15.0 Object Library"

Now the error message says : Error in Loading DLL  

It appears at this line of code :

        Set MailOutLook = appOutLook.CreateItem(olMailItem)
UU.png
ASKER CERTIFIED SOLUTION
iymanb

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 4 Answers and 9 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 4 Answers and 9 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros