+ Reply to Thread
Results 1 to 3 of 3

Need to control Internet Explorer/Firefox

  1. #1
    Registered User
    Join Date
    02-27-2015
    Location
    West
    MS-Off Ver
    2010 Professional
    Posts
    18

    Need to control Internet Explorer/Firefox

    I have been trying for 2 months to work out how to control a web browser with alomst no success. Right now I am relying on a carefully placed cursor, sendkeys, and copy-paste.

    I pull information from our parent franchise's website for over a thousand inventory items daily. First I download the invoices for the new items, then I do a query on the existing items to check for updates. All of this is done one-at-a-time.

    What I think I need is to learn how to identify input boxes, buttons, and fields in the browser so I can interact with them directly. I have tried several sample subs and read lots of post, but nothing has worked. Things like <getelementbyid>, etc, have all resulted in errors. I have also installed Selenium IDE and tried using Firefox instead of IE. No luck

    Here's what I am doing now for the updates:

    Manually open the website and log in.
    Pull up the first item to get my cursor in the right spot.
    Run UpdatSpecs2 to set things up
    It calls UpdateSpecs3, which cycles through each item, using sendkeys to pull it up on the website, pasting the entire page into a blank worksheet, then parsing out the data and updating with any changes.



    Please Login or Register  to view this content.
    Any help you can give me would be most appreciated. I am absolutely new to any kind of coding, and I love VBA but I'm overwhelmed. Thank so much.

  2. #2
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    365 Win 11
    Posts
    7,238

    Re: Need to control Internet Explorer/Firefox

    Have you learnt HTML? You're not going to get anywhere without understanding how web pages are structured, the methods of selecting nodes in IE are just the same as selecting in JavaScript, so when you're reading up, don't limit your reading to just VBA.

    A thorough understanding of HTML and a rudimentary grasp of JavaScript will do you wonders

  3. #3
    Registered User
    Join Date
    02-27-2015
    Location
    West
    MS-Off Ver
    2010 Professional
    Posts
    18

    Re: Need to control Internet Explorer/Firefox

    That's what I was afraid of. Thanks

+ 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. Use VBA to control Internet Explorer
    By Verbamore in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 09-17-2014, 05:50 PM
  2. internet explorer control click
    By tomro1 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-14-2014, 12:11 PM
  3. Control Internet Explorer Window - Already Opened
    By guster09 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-01-2014, 04:26 PM
  4. Can Excel control Internet Explorer using VBA?
    By simpleonline1234 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-01-2012, 10:39 PM
  5. Using Macros for Internet Explorer Control
    By PaulAS in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-08-2010, 03:58 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