• Outlook automation – permission denied (Access 97/Outlook 98)

    Home » Forums » AskWoody support » Productivity software by function » MS Access and database help » Outlook automation – permission denied (Access 97/Outlook 98)

    Author
    Topic
    #374351

    I have a front-end working fine on several machines with one exception. One workstation generates an error at the line:

    Set objOutlook = New Outlook.Application

    The error is #70 – Permission Denied.

    I tried using GetObject – which generated error #429 “ActiveX component can’t create object” – and CreateObject which gives error #70 Permission Denied.

    I’m particularly frustrated because this line works fine 4 out of 5 workstations.
    Gwenda hairout

    Viewing 0 reply threads
    Author
    Replies
    • #605365

      Then start by looking at what’s different about that machine: versions of OS and software, security patches on Windows/Office/Outlook. I doubt you’ll find this to be an Access problem, and you can test that ny attemting the same automation code from another Office app.

      • #605489

        Charlotte … I did as you suggested and ran, as a test, the same code snippet from Word where it performed perfectly. Then, weirdly bananas IT WORKED from Access too. I dunno’ what changed, but I’m happy.
        Many thanks,
        Gwenda joy

    Viewing 0 reply threads
    Reply To: Outlook automation – permission denied (Access 97/Outlook 98)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: