Load a website from an Access Form

  • Thread starter Thread starter Simon
  • Start date Start date
Hi

Put a button on your form and open the properties box, then in the Hyperlink
address row (in the format colum) put the full address. So in your case it
would be
http://www.google.co.uk/
 
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
 
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top