Dad_x6
Board Regular
- Joined
- Jan 15, 2013
- Messages
- 89
I am trying to fill in fields on a webpage with Excel VBA. I have done this frequently, but am having trouble now. When I use ie.document.getElementByID I am getting a 424 error (Object Required). I can see that I have the correct ID name, so I don't understand why this is happening.
Here is the line of code I am using...
Here is the HTML for that field that I want to connect to...
Any thoughts on what I am doing wrong?
Thank you.
Here is the line of code I am using...
Set objElem = .document.getElementByID("sys_original.IO:3b05fe9b1b00ac14a6fdfd9f034bcbd3")
Here is the HTML for that field that I want to connect to...
<input name="sys_original.IO:3b05fe9b1b00ac14a6fdfd9f034bcbd3" id="sys_original.IO:3b05fe9b1b00ac14a6fdfd9f034bcbd3" type="HIDDEN" value="">
Any thoughts on what I am doing wrong?
Thank you.