Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 251
  • 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

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

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