Run-Time error 429 on CreateObject("Outlook.Application")

  • sam-433147

    Ten Centuries

    Points: 1221

     Dim olApp As OutLook.Application

    Set olApp = CreateObject("Outlook.Application")

    end's with Run-Time error 429

    ActiveX component can't create object

    how to resolve the problem?

    thanks 

     

  • renat ka

    SSC Enthusiast

    Points: 161

    the correct disclaimers are:

    1. late-binding -

    Dim olApp As Object

    Set olApp = CreateObject("Outlook.Application")

     

    2. Earlier binding

    Dim olApp As New Outlook.Application

    but in both ways you need to connect the Outlook library into Reference list for your MS Access database:

    In your project window or module window, go to Tools -> References ->

    and scroll and find Microsoft Outlook library in the new window of References. Tick it and close the window.

    Enjoy.

    Renat aka Bibigone

     

  • SophieTucker414op

    Grasshopper

    Points: 23

    Run the sfc /scannow command in the CMD (Command Prompt) –

    Go to the start menu
    Search or go to the Command Prompt
    Click on that and opens it
    A Pop-up will open there
    Type this below the following command
    ” sfc/scannow “
    After that, press Enter there
    Wait for some seconds there
    After complete, close the tab
    That’s it, done
    Still facing the same error try other methods here
    https://www.errorsolutions.tech/error/runtime-error-429/

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic. Login to reply