Kamson
04-26-2011, 09:59 AM
Hello,
Thanks in advance for your assistance.
I am able to write to an html page via vba..i.e. populating text field.
The problem that I have is with HTML's dropdown. Basically the VBA code is not populating the dropdown, below is the code that I used :
Set MyObj = IE.Document.getElementsByTagName("Select")
MyObj.Item(1).Value = "Something"
Do While IE.Busy Or IE.ReadyState <> READYSTATE_COMPLETE
DoEvents
Loop
Any suggestion to fix the problem?
Thanks
Thanks in advance for your assistance.
I am able to write to an html page via vba..i.e. populating text field.
The problem that I have is with HTML's dropdown. Basically the VBA code is not populating the dropdown, below is the code that I used :
Set MyObj = IE.Document.getElementsByTagName("Select")
MyObj.Item(1).Value = "Something"
Do While IE.Busy Or IE.ReadyState <> READYSTATE_COMPLETE
DoEvents
Loop
Any suggestion to fix the problem?
Thanks