I
ianc
I have the following code that opens a web page within an Access form:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Dim objIE As SHDocVw.InternetExplorer
Dim strURL As String
strURL =
"https://wwwpp10.landg.com/ProtectionOnlineWeb/FORWARD_TO_LOGIN_PAGE"
Set objIE = Me.myBrowser.Object
objIE.Navigate2 strURL
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This works fine and opens the page. What I then want to do is populate a
text box on the form within the page with data. I've tried various
combinations of referencing the IE object e.g.
"objIE.Document.documentElement.innerHTML.Forms(0).items(0).Value = "Ian",
but have had no luck.
Can anyone help?
Ian
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Dim objIE As SHDocVw.InternetExplorer
Dim strURL As String
strURL =
"https://wwwpp10.landg.com/ProtectionOnlineWeb/FORWARD_TO_LOGIN_PAGE"
Set objIE = Me.myBrowser.Object
objIE.Navigate2 strURL
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This works fine and opens the page. What I then want to do is populate a
text box on the form within the page with data. I've tried various
combinations of referencing the IE object e.g.
"objIE.Document.documentElement.innerHTML.Forms(0).items(0).Value = "Ian",
but have had no luck.
Can anyone help?
Ian