Solved

How can I Access the internet from inside Excel vba code

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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Dealing with unintended Excel Active-X resizing quirks (VBA code simulates "self correction") David Miller (dlmille) Intro Not everyone is a fan of Active-X controls in spreadsheets (as opposed to the UserForm approach, the older Form controls …
This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.

760 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

21 Experts available now in Live!

Get 1:1 Help Now