Hello,
I have the code below, which is supposed to enter the text from A1 in my spreadsheet into the textbox on a specific website (which is not actually in the code below, due to Data Protection):
The element code for the textbox is shown below:
input data-label="Surname" data-id="Surname" type="text" value="" id="txtSurname" size="30" class="text"
And the element code for the submit button is below:
input id="submit-search-nominal-log" type="button" class="button primary-button blue-button" value="Search"
Can anyone assist me please? I am getting an error on the IE.Document.All("h2").Value = ThisWorkbook.Sheets("Sheet1").Range("A1") line, but I am unsure whether the button click line is correct either.
Any help appreciated.
Chris
Bookmarks