Recent content by LewisHoulden

  1. L

    getElementByID with Internet Explorer using Shell Windows

    I was referring to this code in my first post: Dim oIE As Object Set oIE = CreateObject("InternetExplorer.Application") oIE.Navigate "URL of my Choice" Do While oIE.Busy Or oIE.ReadyState <> READYSTATE_COMPLETE DoEvents Loop oIE.Document.getElementById("Surname").Value = "My Surname...
  2. L

    getElementByID with Internet Explorer using Shell Windows

    Thank you for your response. It is not InternetExplorer.Application, msgbox = IWebBrowser2. How do I switch between the two? Basically, I have found the internet explorer window I require, navigated to a new URL in a new tab, but cannot use getElementByID which I was previously able to use...
  3. L

    getElementByID with Internet Explorer using Shell Windows

    Thanks for the reply. Sorry, I must of cut the wrong code. Let me show you it in full. Ignore previous code. This is the one I am working with. It's part of a loop:
  4. L

    getElementByID with Internet Explorer using Shell Windows

    My first post! I have used this forum many times to help solve VBA queries but cannot seem to find an answer to my query: :banghead: Ok, so I can currently open a new internet explorer instance, navigate to my URL, then use the .getElementByID to insert my preference into a textbox on the page...
Back
Top Bottom