Help with Hyperlinks (1 Viewer)

k14k21

New member
Local time
Yesterday, 20:01
Joined
Aug 30, 2020
Messages
3
I have a table with 2 fields, briefing name and briefing location (hyperlink). I have created a form with a combo box for the briefing name. Once I select the briefing name, I want a command button to open up the file. I have created the command button but am lost after that. I just started learning access on my own and have not vba experience. Any assistance is appreciated.
 

pbaldy

Wino Moderator
Staff member
Local time
Yesterday, 17:01
Joined
Aug 30, 2003
Messages
36,125
Check out FollowHyperlink.
 

arnelgp

..forever waiting... waiting for jellybean!
Local time
Today, 08:01
Joined
May 7, 2009
Messages
19,230
if Briefing Location is also included on your combo as 2nd Column,
on the click event of the button:

Application.FollowHyperlink Me.combo.Column(1)

if it is not included, you need to use Dlookup() to get the Hyperlink:

Application.FollowHyperlink Split(DLookup("[Briefing Location]", "table", "[briefing Name]='" & Me.combo & "'")(1)
 

Users who are viewing this thread

Top Bottom