create a hyperlink to a folder

J

jhucks8

I am trying to create a hyperlink to a folder using a command button on a
form in Access. Is this possible?
 
A

Arvin Meyer [MVP]

jhucks8 said:
I am trying to create a hyperlink to a folder using a command button on a
form in Access. Is this possible?

Sure, something like:

Private Sub cmdHyperLink_Click()
Application.FollowHyperlink HyperlinkPart(Me.txtHyperLink, acAddress)
End Sub

where txtHyperLink is a textbox with the path to the folder or file. You can
also use ShellExecute (which is faster and more fool proof)

http://www.mvps.org/access/api/api0018.htm
 
Top