Solved

How can I Access the internet from inside Excel vba code

Posted on 2011-02-21
5
243 Views
Last Modified: 2012-05-11
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
Comment
Question by:wcpoa8
  • 3
  • 2
5 Comments
 
LVL 20

Expert Comment

by:darbid73
ID: 34949083
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
 
LVL 20

Accepted Solution

by:
darbid73 earned 500 total points
ID: 34949087
If you want to read more about it see MSDN Excel 2003 Reference
0
 

Author Comment

by:wcpoa8
ID: 34949131
Does this work in Excel 2007 and 2010?
0
 

Author Comment

by:wcpoa8
ID: 34949146
It seems that it does work in Excel 2007 and 2010.
0
 

Author Closing Comment

by:wcpoa8
ID: 34949148
Thanks!
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Convert between Excel file formats (.XLS, .XLSX, .XLSM) with/without macro option David Miller (dlmille) Intro Over this past Fall, I've had the opportunity to see several similar requests and have developed a couple related solutions associate…
When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.

740 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question