Solved

How can I Access the internet from inside Excel vba code

Posted on 2011-02-21
5
240 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 19

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 19

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Drop Down List with Unique/Distinct Values (Part II - ComboBox or ListBox and Data Validation List Bonus!) David Miller (dlmille) Intro This article focuses on delivering unique, sorted lists to list objects (e.g., ComboBox, ListBox) and Dat…
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…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.

920 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now