Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 252
  • Last Modified:

How can I Access the internet from inside Excel vba code

I'd like a button click on my spreadsheet to take the user to my website (www.mywebsite.com). How can I find out which browser the user has installed on his Windows computer and then what commands would I use to call that browser (Internet Explorer or Firefox) and link to my website?
0
wcpoa8
Asked:
wcpoa8
  • 3
  • 2
1 Solution
 
darbid73Commented:
There is a lot of ways to do this with VBA and Internet Explorer, including having a mini webbrowser inside your excel.

Other wise the way you do it is

Application.FollowHyperlink strURL

Open in new window

0
 
darbid73Commented:
If you want to read more about it see MSDN Excel 2003 Reference
0
 
wcpoa8Author Commented:
Does this work in Excel 2007 and 2010?
0
 
wcpoa8Author Commented:
It seems that it does work in Excel 2007 and 2010.
0
 
wcpoa8Author Commented:
Thanks!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now