Results 1 to 7 of 7

Error "91" while trying IE automation

Threaded View

bodis Error "91" while trying IE... 03-23-2010, 02:33 AM
bodis Re: Error "91" while trying... 03-23-2010, 07:15 AM
romperstomper Re: Error "91" while trying... 03-23-2010, 07:55 AM
bodis Re: Error "91" while trying... 03-23-2010, 01:44 PM
romperstomper Re: Error "91" while trying... 03-23-2010, 01:55 PM
bodis Re: Error "91" while trying... 03-23-2010, 04:21 PM
shabarish Re: Error "91" while trying... 11-26-2011, 06:38 AM
  1. #1
    Registered User
    Join Date
    10-30-2009
    Location
    UK
    MS-Off Ver
    Excel 2003
    Posts
    22

    Error "91" while trying IE automation

    Hi,

    I am playing with IE automation but keep receiving error 91 on the following block:

    Set UserN = appIE.Document.getElementsByName("username")
    If Not UserN Is Nothing Then
        UserN(0).Value = "login name"
    End If
    The error occurs on this line:

    UserN(0).Value = "login name"
    I am pretty sure the solution is simple, I just lack the knowledge to see where it is.

    Many Thanks

    Bod
    Last edited by bodis; 03-23-2010 at 04:22 PM.

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