Load a website from an Access Form

M

Mark Andrews

Try this code:

Public Sub OpenWebPage(url As String)

Dim browser As Variant

Set browser = CreateObject("InternetExplorer.Application")
browser.Navigate (url)
browser.StatusBar = False
browser.Toolbar = False
browser.Visible = True
browser.Resizable = True
browser.AddressBar = False

End Sub

HTH,
Mark Andrews
RPT Software
http://www.rptsoftware.com
 
A

aaron.kempf

or you can put the webbrowser control into your access form!

insert, activeX control, webbrowser control I think that it's called
and then
me.webbrowser1.navigate "http://www.google.com"



-aaron
 
Top