Opening a web page on clicking a button on a form

S

Simon Harvey

Hi everyone,

Now, I don't know much about access or VBA, but what the boss wants to
happen is that when a button is pressed, IE needs to open and display a
particular webpage.
I've created an onclick event procedure for the button but I dont know the
relevant incantation to open the browser and navigate it to the correct
page.

Thanks to anyone who can advise with this.

Kindest Regards

Simon
 
N

Naresh Nichani MVP

Hi:

Try

Application.FollowHyperlink "http://www.google.com", , True

in the button onclick event.

Or you can also set the button hyperlink property.

Regards,

Naresh Nichani
Microsoft Access MVP
 

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

Top