Late binding to Outlook error in Access 2010

I'm getting the error
429 - ActiveX component can't create object
when using

    Dim appOutlook as object
    Set appOutlook = CreateObject("Outlook.Application")

This used to work OK but now fails whether Outlook is already running or not.
Any suggestions?
kentgorrellAsked:
Who is Participating?
 
Chris BottomleyConnect With a Mentor Commented:
YUp looks like the first recommendation is a repair and then retry

Chris
0
 
Patrick MatthewsCommented:
Have you checked to see if there are any broken references?
0
 
kentgorrellAuthor Commented:
I'm using Late Binding and no no broken references.
0
Free tool for managing users' photos in Office 365

Easily upload multiple users’ photos to Office 365. Manage them with an intuitive GUI and use handy built-in cropping and resizing options. Link photos with users based on Azure AD attributes. Free tool!

 
Chris BottomleyCommented:
Is it any better if you try the following?

Chris
Dim appOutlook as object
        Set appOutlook = CreateObject("Outlook.Application", "localhost")

Open in new window

0
 
kentgorrellAuthor Commented:
It's different, with your code I get
error 463 Class not registered on local machine
0
 
Chris BottomleyCommented:
Hmmm implies that there is an issue with outlook itself to me.  The problem is you say outlook is ok, will have to look into it but I am guessing a repair / re-insall type solution!

Chris
0
All Courses

From novice to tech pro — start learning today.