How do I pull in data from a website into an excel spreadsheet?

Posted on 2013-05-13
Last Modified: 2013-05-13

I have an excel spreadsheet that I need to update every day. I have now been told that one of the sources of information I will need is a financial website. I would like to know if it is possible to create a direct link from this website to my spreadsheet so that when I open up the excel file it will auotmatically update these links?

Question by:f19l
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
LVL 85

Expert Comment

by:Rory Archibald
ID: 39161588
It may depend on the site. Have you tried using a Web query (Data tab, From Web in Excel 2007 or later)?

Author Comment

ID: 39161693
My knowledge is very basic in this regard. You will need to take me step-by-step through this process. Actually, I have just realized this is going to be more involved than I first thought; I go to the website, click on a link to a spreadsheet containing the required data, save it and then open it up.
LVL 85

Expert Comment

by:Rory Archibald
ID: 39161752
I don't think you will be able to create a direct link then. You might be able to use code to get the workbook and manipulate it as long as you know the direct link (URL) to the workbook.
SuperAntiSpyware Licenses Discounted by 25% !

Exclusive offer to Experts Exchange Members!
Buy SuperAntiSpyware License(s) from us and save 25% on the regular purchase price.
- Includes Full SuperAntiSpyware Vendor Support Entitlements
- Your Subscription does not begin until you activate your license
- Buy for your friends


Author Comment

ID: 39161768
Yes, I do know the URL. Do you know the code that I will need?
LVL 85

Accepted Solution

Rory Archibald earned 500 total points
ID: 39161939
I would start by trying:
Workbooks.Open "URL_here"

Open in new window

If that doesn't work then you'll probably need to automate the download.

Author Comment

ID: 39162052
As simple as that! It works.

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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

You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
This Micro Tutorial will demonstrate how nuggets on the Web are formatted by using Chrome Developer Tools. These tools would not only view the site's CSS but it can also modify it and save the CSS to use on your own site.
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.

738 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