Hi Len
Thanks for your reply, it was a big help
I am getting an error "object required " when I reach the last line of code.
I should explain, that I am calling this code via VBA
Set oExplorer = New InternetExplorer
oExplorer.navigate ("
http://sunlib-st.com:1234/visualhistory/visualhistory.jsp")
oExplorer.Visible = True
Set oDoc = oExplorer.document
TxtBox = oDoc.getElementById("pattern")
TxtBox.innerText = "IMNTADD" *
* the error occurs here
at this point the TxtBox is an object, but, I can not see any properties attached to the box via the debug screen.
Do you have any ideas ?
Hope you can help
Regards
Steven