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.
PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now


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: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

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…
In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
This Micro Tutorial will demonstrate how to add subdomains to your content reports. This can be very importing in having a site with multiple subdomains.
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.

717 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