+ Reply to Thread
Results 1 to 8 of 8

Import data automatically from a webpage into excel?

  1. #1
    Registered User
    Join Date
    04-15-2016
    Location
    Oslo
    MS-Off Ver
    Excel 2013
    Posts
    79

    Import data automatically from a webpage into excel?

    Is it possible to automatically import data from a webpage into excel?

    If so, then how to do it?

    I will attach a picture with data marked with blue that I want automatically imported into a excel spreadsheet:
    Attached Images Attached Images

  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,446

    Re: Import data automatically from a webpage into excel?

    Hi Stockman,

    An add-in for Excel 2013 called Power Query does what I think you are looking for. It is built into 2016. See:

    http://www.mattmasson.com/2014/11/it...g-power-query/

    for some examples.
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  3. #3
    Registered User
    Join Date
    04-15-2016
    Location
    Oslo
    MS-Off Ver
    Excel 2013
    Posts
    79

    Re: Import data automatically from a webpage into excel?

    What is the different from paying for an API and get data from there vs using some excel plug in to fetch the data for free?

  4. #4
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    365 Win 11
    Posts
    7,239

    Re: Import data automatically from a webpage into excel?

    They're different things.

    If you pay for/use an API, then you're paying for the ease of importing data. It will be of a standardised format that will not change and has clearly defined methods and properties that you can query.

    A plugin may use the API you pay for, but more likely it will "web scrape" this means that it reads the html and not the data, should the html change (and it will change) the plugin will need updating or will break.

    An API will not suffer from this since there's a clearly defined format that the vendor will not change
    Last edited by Kyle123; 04-20-2016 at 04:39 AM.

  5. #5
    Registered User
    Join Date
    04-15-2016
    Location
    Oslo
    MS-Off Ver
    Excel 2013
    Posts
    79

    Re: Import data automatically from a webpage into excel?

    Ok, so If I want a reliable data and stability I should go for API. The websites changes there html frequently to avoid web scraping?

  6. #6
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    365 Win 11
    Posts
    7,239

    Re: Import data automatically from a webpage into excel?

    Yes, one should always prefer an API over webscraping - it's what they're for. Not to mention, an API will be much more performant

  7. #7
    Registered User
    Join Date
    04-15-2016
    Location
    Oslo
    MS-Off Ver
    Excel 2013
    Posts
    79

    Re: Import data automatically from a webpage into excel?

    Ok I see. Because I consider monetize a spreadsheet that I have made. The point is to make it fully automatic. So in this case it means the user input a stock ticker and all the raw data (financial information) will be imported via API and my formulas will calculate different ratios etc..
    Do you know if it would be legal and possible for me to pay for this API data, and then charge a customer a fee for using my spreadsheet with the API. So that many users will be using my subscription for API data. Hope you understand what I mean

  8. #8
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    365 Win 11
    Posts
    7,239

    Re: Import data automatically from a webpage into excel?

    You'll need to check the terms and conditions of the particular API you want to use - they will vary. It's likely that if you want to do this you'll have to purchase a much more expensive licence, the other option would be to require the end use to have a subscription and have them enter the credentials into your spreadsheet, you then charge for your spreadsheet and they have the API subscription seperately

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Import Data from Webpage
    By kosti in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-07-2015, 10:33 AM
  2. Want to Import Data from WebPage
    By hkharabe in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-28-2014, 11:20 PM
  3. import specific data from a webpage into excel with VBA
    By wolfram13 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-13-2013, 01:26 PM
  4. [SOLVED] how to import stock price data from webpage to excel by macro ?
    By nur2544 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-08-2013, 09:41 PM
  5. Pull/import data from webpage into excel
    By emoandy05 in forum Excel General
    Replies: 0
    Last Post: 06-13-2012, 01:47 PM
  6. Import a data from webpage into excel
    By sarath25 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-29-2011, 05:42 AM
  7. more than 100 webpage import data macro
    By haiintha in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-17-2011, 05:02 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1