Hi
I have a ActiveX Web Browser on Access form. The code to load the url is:
Public Sub Form_Load()
Dim strURL As String
Dim objIE As Object
strURL = "xxxx.html"
Set objIE = Me.WebBrowser0.Object
objIE.Navigate2 strURL
End Sub
Is it possible to access the document objects (for example form elements) of the html document in the webbrowser object??
I tried objIE.document.xxxx but keep getting an "Object variable or With Block variable not set" error.
I have a ActiveX Web Browser on Access form. The code to load the url is:
Public Sub Form_Load()
Dim strURL As String
Dim objIE As Object
strURL = "xxxx.html"
Set objIE = Me.WebBrowser0.Object
objIE.Navigate2 strURL
End Sub
Is it possible to access the document objects (for example form elements) of the html document in the webbrowser object??
I tried objIE.document.xxxx but keep getting an "Object variable or With Block variable not set" error.