Click button on hyperlink field?

S

stefan

I have a label next to a hyperlink which describes the
linked document. Is is possible to provide a button, or
something similar, to click for a hyperlink field rather
than a textbox? thanks
 
N

Naresh Nichani MVP

Hi:

You could place a button on Form and click properties in Event select "On
Click" and click the Code Builder.

Here write this line

Application.FollowHyperLink Label1.Caption

Here I assume that a Label named Label1 has the hyperlink location.

Regards,

Naersh Nichani
Microsoft Access MVP
 
S

stefan

Thanks
At the moment have a label/caption and an accompanying
textbox where hyperlink is located. Substituted the name
of the textbox and the control source (hyperlink) but will
not work. Any further advice appreciated.
 

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