Results 1 to 3 of 3
  1. #1
    4 Star Lounger
    Join Date
    Jan 2001
    Location
    Houston, Texas, USA
    Posts
    432
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Active X - not able to CreateObject (Outlook 98, Office 97)

    When I run this on my PC it works great. But if I go to some else's PC I get an Active X error when it comes to the SETobjWSHSHell... line. Anybody got an idea?

    -=-=-=-=-=-=-=-=-=-=-=-
    'Call Excel
    Sub cmdExcel_click()
    Working
    update1
    update2
    Set objWSHShell = CreateObject("WScript.Shell")
    objWSHShell.Run("excel.exe tabsproddatabaseedgarsecurityterm2001.xls ")
    end sub
    '-=-=-=-=-=-=-=-=-=-=-=-=-

  2. #2
    Star Lounger
    Join Date
    Mar 2001
    Location
    Atlanta, Georgia, USA
    Posts
    64
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Active X - not able to CreateObject (Outlook 98, Office 97)

    Be sure that the other machine has Microsoft Scripting installed.

  3. #3
    Platinum Lounger
    Join Date
    Dec 2000
    Location
    Queanbeyan, New South Wales, Australia
    Posts
    3,730
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Active X - not able to CreateObject (Outlook 98, Office 97)

    And that there is a reference set to it in the VBA
    Subway Belconnen- home of the Signboard to make you smile. Get (almost) daily updates- follow SubwayBelconnen on Twitter.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •