Full Version: how to have hyperlink with code
UtterAccess Discussion Forums > Microsoft® Access > Access Forms
gunderj
Doe anyone know how to have a hyperlink defined in a function so that when user makes
a selection from a toolbar menu, the function invokes a hyperlink that will take them to
a web page?
The only way I can provide navigation from Access 2003 toolbar menu to my web page, is
by first having them open a form, then clicking on a hyperlink in the form. I would like to
bypass this form step and go directly to the web site.
Any ideas?
Thanks,
Jay
freakazeud
Hi,
you can execute an URL/Path with the FollowHyperlink() method in VBA e.g.:

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

HTH
Good luck
jmcwk
Not to sure this is what you are after but open the attached

HTH
gunderj
Thanks to Freakazuid,
Application.FollowHyperlink "http://www.google.com" was perfect!
freakazeud
You're welcome.
Good luck on future projects!
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.