+ Reply to Thread
Results 1 to 2 of 2

Getting automation error the interface is unknown when navigating IE thru VBA

  1. #1
    Registered User
    Join Date
    07-04-2012
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    29

    Getting automation error the interface is unknown when navigating IE thru VBA

    Hi,

    I don't have much experience in VBA programming but I need to automate getting a data from a secured website. However, I would always get an error when navigating to the website that I intend to. It would open IE and the website itself, but the error would pop up and the code would just stop at "Do Until ieApp.ReadyState = READYSTATE_COMPLETE". It would work on google.com, though.

    Would someone know what the root cause is?

    I'm using Excel 2010 and IE8

    Runtime Error:
    automation error
    the interface is unknown

    Please Login or Register  to view this content.

  2. #2
    Registered User
    Join Date
    10-07-2013
    Location
    Chennai, India
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Getting automation error the interface is unknown when navigating IE thru VBA

    Quote Originally Posted by belle08 View Post
    Hi,

    I don't have much experience in VBA programming but I need to automate getting a data from a secured website. However, I would always get an error when navigating to the website that I intend to. It would open IE and the website itself, but the error would pop up and the code would just stop at "Do Until ieApp.ReadyState = READYSTATE_COMPLETE". It would work on google.com, though.

    Would someone know what the root cause is?

    I'm using Excel 2010 and IE8

    Runtime Error:
    automation error
    the interface is unknown

    Please Login or Register  to view this content.
    Here is a quick and easy solution for this issue:

    Instead of:

    Set ieApp = New InternetExplorer

    Use:

    Set ieApp = New InternetExplorerMedium

    As Simple as that

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1