G Guest Jun 6, 2007 #1 I am trying to create a hyperlink to a folder using a command button on a form in Access. Is this possible?
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] Jun 6, 2007 #2 jhucks8 said: I am trying to create a hyperlink to a folder using a command button on a form in Access. Is this possible? Click to expand... 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
jhucks8 said: I am trying to create a hyperlink to a folder using a command button on a form in Access. Is this possible? Click to expand... 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