here is a link to a previous post which almost solves my issue
http://p2p.wrox.com/topic.asp?TOPIC_ID=43120
I am trying to enter the value for an element which is a filename. When I use the following it does not update this field..
Code:
Dim hCol As MSHTML.IHTMLElementCollection
Dim hInp As MSHTML.HTMLInputElement
...
Set hCol = hDoc.getElementsByTagName("input")
...
For Each hInp In hCol
If hInp.ID = "upl-file" Then hInp.Value = "C:\temp.xls"
Next hInp
If the element is a text field then it updates just fine, but being a file it doesnt. PLease can someone let me know if they have an answer