Hello,
I am trying to read a value from an excel sheet and write it to a form in an Internet Explorer window. Here is my code:
Sub innernet()
Dim IE As Object
Set IE = CreateObject("InternetExplorer.Application")
IE.navigate "http://drdoctor.cropsci.uiuc.edu/smallRNA.php"
IE.Visible = True
While IE.busy
DoEvents 'wait until IE is done loading page.
Wend
IE.Document.all("form1").Value = Workbooks("myworkbook.xlsx").Worksheets("AllSoy").Cells(3, 3).Value
IE.Document.all("submit").Click
End Sub
The program works up until the 2nd to last line of code (IE.Document.all("form1").Value = ......) which is when it throws me run-time error '438': "Object doesn't support this property or method".
I am unsure of what is wrong here, and documentation on this topic seems scarce.
Thank you.
Bookmarks