CreateObject("Outlook.Appliction) giving error in Excel 2013 Win 7 RRS feed

  • General discussion

  • Need Help to fix the error occuring..

    The VBA procedure written in excel is giving the error for the below instruction.

    Set olApp = CreateObject("Outlook.Application")

    Error Occuring is:

    Run-time error '-2147467229 (80004023)'

    Automation error

    A microsoft installer error was encountered

    The syntax is working fine in Excel 2010..I not able to run it on Excel 2013

    Please provide me this reason and solution for the same..

    Monday, January 27, 2014 9:38 AM

All replies

  • Hello GutsyInnovation,

    As a rule, you can see such error message when the windows registry is corrupted (old records were left after uninstalling Office). For example, you could uninstall the x64 edition of Office 2010/2013 and install the x86 edition anew. It seems to be a problem of the Office 2010 x64 uninstaller, which does not remove the x64 COM registration properly. Is this the case?

    If so, you can try to rename or remove the following key:


    Please see the ProgId values for Office applications below:

    Office Server CLSID key
    Access.Application {73A4C9C1-D68D-11D0-98BF-00A0C90DC8D9}
    Excel.Application {00024500-0000-0000-C000-000000000046}
    FrontPage.Application   {04DF1015-7007-11D1-83BC-006097ABE675}
    Outlook.Application {0006F03A-0000-0000-C000-000000000046}
    PowerPoint.Application {91493441-5A91-11CF-8700-00AA0060263B}
    Word.Application {000209FF-0000-0000-C000-000000000046}
    Friday, January 31, 2014 11:35 AM
  • I am also facing the same problem but even after doing all these its not working. I un-installed office 2010 and installed 2013 64 bit, please suggest a way out.
    Monday, April 28, 2014 5:54 AM
  • You are the best. Installed Office 2013 last week and BANG!!! with this issue. Called Microsoft up and wanting to charge me $80.00. I was just about to uninstall office 2013 and go back to my old faithful 2007.
    Saturday, March 7, 2015 11:26 AM
  • Thank you! I am glad to hear that re-installing Office helped to fox the issue.
    Saturday, March 7, 2015 11:32 AM
  • I have followed the above but no luck this occurred a few days after I installed 2016.

    This is what happened before the error:

    Un-installed 2013 x86 and installed 2013 x64 - No problems 

    Installed 2016 x64 - problems accoured a few days afterwards (Today)

    I have un-installed 2013 x64 and repaired 2016x64 - still has a problem

    I have un-installed 2016 and tried again but still no luck

    The problem is that I have some VBA code in Excel that is cousing the error when communicating with Ouotlook

    Set OutApp = CreateObject("Outlook.Application")


    Thank you

    Monday, October 5, 2015 12:15 PM
  • I had the same problem in Office 2016
    Try to change:
    Set OutApp = CreateObject ("Outlook.Application")
    Set OutApp = Outlook.Application
    It worked for me.

    Friday, July 21, 2017 5:11 PM