form & Hyperlink

  • Thread starter Thread starter Glenn
  • Start date Start date
G

Glenn

I have a user form on which I'd like to have a command button that when
pushed will hyperlink to the internet.

Is this possible? If so, how?

Thanks.
 
Glen

You could use something like

Private Sub CommandButton1_Click()
ThisWorkbook.FollowHyperlink Address:="http://www.microsoft.com"
End Sub

--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England
(e-mail address removed)
 

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

Back
Top