View Single Post
Old 15-08-2010, 15:44
PAnderson PAnderson is offline
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?

Private Sub label_weblink_Click()

ShellExecute 0, "Open", "", "", "", vbNormal

End Sub
Reply With Quote