+ Reply to Thread
Results 1 to 4 of 4

Drop Down in IE and Single obj entry

Hybrid View

excelcandy Drop Down in IE and Single... 09-18-2013, 04:50 PM
excelcandy Re: Drop Down in IE and... 09-19-2013, 07:34 AM
Norie Post the URL. 09-19-2013, 09:44 AM
excelcandy Re: Drop Down in IE and... 09-19-2013, 10:16 AM
  1. #1
    Forum Contributor
    Join Date
    09-17-2013
    Location
    New York
    MS-Off Ver
    Excel 2007
    Posts
    115

    Drop Down in IE and Single obj entry

        Set objCollection = IE.Document.getElementsByTagName("input")
     
        i = 0
        While i < objCollection.Length
            If objCollection(i).Name = "username" Then
    
                objCollection(i).Value = "USERNAME" 'fill in username here between the ""
            End If
            
            Application.Wait (Now + TimeValue("0:00:01"))
            If objCollection(i).Name = "password" Then
    
                objCollection(i).Value = "PASSWORD" 'fill in password here between the ""
     
                    Set objElement = objCollection(i)
            End If
            i = i + 1
        Wend
        Application.Wait (Now + TimeValue("0:00:01"))
        IE.Document.all("btnSubmit").Click

    This is what I have but no idea how to do the following two:

    I need a selection from a dropdown instead of the username
    For a second login I need this for a second screen with only a password field. Deleting doesn't work.

  2. #2
    Forum Contributor
    Join Date
    09-17-2013
    Location
    New York
    MS-Off Ver
    Excel 2007
    Posts
    115

    Re: Drop Down in IE and Single obj entry

    maybe it's not possible?

  3. #3
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,646
    Post the URL.
    If posting code please use code tags, see here.

  4. #4
    Forum Contributor
    Join Date
    09-17-2013
    Location
    New York
    MS-Off Ver
    Excel 2007
    Posts
    115

    Re: Drop Down in IE and Single obj entry

    it's an internal page, can't . can you give a very general answer? it would also be helpful to other people with this problem

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 2
    Last Post: 04-15-2013, 08:50 AM
  2. Replies: 0
    Last Post: 10-06-2011, 07:03 AM
  3. single entry to double entry
    By ice1980 in forum Excel General
    Replies: 2
    Last Post: 04-21-2009, 12:45 PM
  4. Replies: 8
    Last Post: 02-22-2008, 12:53 PM
  5. [SOLVED] how do I link a drop down list entry to a new drop down cell?
    By lmunzen in forum Excel General
    Replies: 1
    Last Post: 08-15-2006, 12:05 PM

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