View Single Post
  #1  
Old 15-08-2010, 14:44
PAnderson PAnderson is offline
Member
 
Join Date: Nov 2003
Posts: 47
Default Add a hyperlink in a User form

How do I make a hyperlink for a text label on a user form? I have done this several times on forms, but my link does not seem to be working in Windows 7. It returns a Compile Error and says "Sub or Function not defined."

What am I missing?

Code:
Private Sub label_weblink_Click()

ShellExecute 0, "Open", "http://www.websitelink.com/", "", "", vbNormal

End Sub
Patti
Reply With Quote