UtterAccess.com
X   Site Message
(Message will auto close in 2 seconds)

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> how to have hyperlink with code    
 
   
gunderj
post Dec 8 2006, 05:52 PM
Post #1

UtterAccess Addict
Posts: 181



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
Go to the top of the page
 
+
freakazeud
post Dec 8 2006, 06:05 PM
Post #2

UtterAccess VIP
Posts: 31,413
From: NC, USA



Hi,
you can execute an URL/Path with the FollowHyperlink() method in VBA e.g.:

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

HTH
Good luck
Go to the top of the page
 
+
jmcwk
post Dec 8 2006, 06:06 PM
Post #3

UtterAccess VIP
Posts: 12,201
From: Tacoma, WA.



Not to sure this is what you are after but open the attached

HTH
Attached File(s)
Attached File  BrowseForURLorFile.zip ( 15.09K ) Number of downloads: 4
 
Go to the top of the page
 
+
gunderj
post Dec 8 2006, 06:28 PM
Post #4

UtterAccess Addict
Posts: 181



Thanks to Freakazuid,
Application.FollowHyperlink "http://www.google.com" was perfect!
Go to the top of the page
 
+
freakazeud
post Dec 8 2006, 06:56 PM
Post #5

UtterAccess VIP
Posts: 31,413
From: NC, USA



You're welcome.
Good luck on future projects!
Go to the top of the page
 
+

Thank you for your support! Reply to this topicStart new topic

Jump To Forum:
 



RSS Go to Top  ·  Lo-Fi Version Time is now: 18th June 2013 - 09:22 PM