Forum Discussion

GaetanDolige's avatar
GaetanDolige
Copper Contributor
Dec 11, 2023

CreateObject("Outlook.Application") with New Outlook

Hello,

I've just noticed that when using the New Outlook, the VBA command CreateObject("Outlook.Application") generates the following error:

"-2146959355 (80080005) Server execution failed".

 

Am I the only one experiencing this issue? Or is there a need to modify the command?

 

This works perfectly fine on the classic version of Outlook.

 

Thank you in advance

7 Replies

  • M_B's avatar
    M_B
    Copper Contributor

    After I googled a bit, I found the answer at the link below but basically outlook new is the windows mail app which is a web app and has no API's to call (API’s are what you use to take to apps in the background to do stuff and share data without user input needed). You must have the desktop app installed and use that and not use the outlook new is what I understand you can’t just have it installed but must have it as the default.

    https://stackoverflow.com/questions/77901200/using-interaction-createobjectoutlook-application-with-new-version-of-outloo

  • Daniel_Kubesa's avatar
    Daniel_Kubesa
    Copper Contributor

    Hi GaetanDolige 

    i have the same issue. When i turned back to "Old" Outlook 365 it works. So it seems to be issue of the New (web based) one.

     

    • GaetanDolige's avatar
      GaetanDolige
      Copper Contributor

      Daniel_Kubesa 

      Sorry, I didn't see your response.

      I absolutely agree with your answer.
      This is becoming problematic and no solution found at the moment...

      • AndySwain's avatar
        AndySwain
        Copper Contributor

        So, as I am finding out more and more, the (wonderful?) "New" Applications/features, that Microsoft are pushing us towards, have more and more limitations, omissions or 'bugs' than the "Classic" versions, which therefore stop various of us from continuing with our previous ways of working...

        I now can't even return to using "Classic" Outlook, as it won't let me. 

        And yet the prices for these Microsoft 'privileges' are rising...

Resources