>Hi
>
>I have a page which has a text box on it and a button.
>
>I want to be able to place some sext into the Box, and click on the submit button.
>
>I know how to create an instance of IE, but do not know the objects to manipulate to enable me to place the text and click on the button via automation
>
>Does anyone have an example of how to do this
>
>Hope you can help
>
>Regards
>
>
>Steven
One method would be to use the GetElementByID method of the Document property from the browser.
Assuming you have named the textbox "text1" & the button as "button1" on the HTML page, something like the following should work :
CurDoc = thisform.browser1.Document
TxtBox = CurDoc.GetElementByID( "text1" )
TxtBox.InnerText = "Some New Text"
Button = CurDoc.GetElementByID( "button1" )
Button.Click()
Len Speed