Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ActiveX Microsoft Web Browser on Access Form

Status
Not open for further replies.

weeze2

Technical User
Jun 18, 2002
129
0
0
DK
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.
 
Hi
This is possible.
Try it to Me.WebBrowser8.Object.Document.
It is working.
By
V.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top