Opening a webpage from a vba macro in excel

I

Irishmaninusa

Hi Everyone,

Is it possible to open a website from within a macro in Excel....if so...how
would you do that?

And please...don't laugh.....:)
 
J

John Eppley

I have been using the following routine for several months. The sub routine
was found on this newsgroup, and I do not know who deserves the credit.


Sub OpenMyChoiceWebSite()
ThisWorkbook.FollowHyperlink Address:="https://www.MyChoice.com/"
End Sub

Replace MyChoice with your choice.

Hope this helps.

John Eppley
 

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

Top