+ Reply to Thread
Results 1 to 4 of 4

Website Data into Excel Cell

  1. #1
    Forum Contributor
    Join Date
    09-13-2012
    Location
    Midwest
    MS-Off Ver
    Excel 365
    Posts
    124

    Website Data into Excel Cell

    Hi All,

    I googled this for a bit and it seems people are trying to do stuff much more complicated than what I need. I just need to get the current diesel price off of the following page: https://www.eia.gov/dnav/pet/pet_pri_gnd_dcus_r20_w.htm
    Which is line 420 in the html script.
    Or if anyone knows the best guide (most computer efficient method) for parsing html that is not specific to one persons case, then I'd like to learn from it since it is a very handy vba tool. Thank you.

    Regards,

    Luke
    Small Trucking Company in Wisconsin

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: Website Data into Excel Cell

    Hello Luke,

    Will you always be downloading for the same area: Midwest PADD 2 ?

    Have you considered downloading the history as an Excel file from the site?
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

  3. #3
    Forum Expert
    Join Date
    11-24-2013
    Location
    Paris, France
    MS-Off Ver
    Excel 2003 / 2010
    Posts
    9,831

    Re: Website Data into Excel Cell


    Hi !

    Or just using the website API …

  4. #4
    Forum Contributor
    Join Date
    09-13-2012
    Location
    Midwest
    MS-Off Ver
    Excel 365
    Posts
    124

    Re: Website Data into Excel Cell

    Leith: Yes, Midwest PADD 2.

    Marc: Not sure how to use the website API, but I'll look into it unless I get someone to reply on it.

    Thanks all!

+ 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. Data from excel onto a website
    By cam9507 in forum Excel General
    Replies: 16
    Last Post: 02-16-2018, 12:38 PM
  2. Data from website in excel
    By russh47 in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 01-15-2018, 12:35 PM
  3. website scrapiplping to get data from multiplepages of website
    By mpatil in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-17-2015, 05:00 AM
  4. [SOLVED] Excel cell unlocked cell locks when copying text from a website
    By mrjinx007 in forum Excel General
    Replies: 8
    Last Post: 11-28-2012, 03:25 AM
  5. Opening website, getting data, closing website
    By beta_leonis in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-27-2012, 03:50 AM
  6. to get data from website using excel
    By hotmalepiyush in forum Excel General
    Replies: 1
    Last Post: 06-16-2008, 08:22 AM

Tags for this Thread

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