+ Reply to Thread
Results 1 to 3 of 3

Scraping/Importing Table

  1. #1
    Registered User
    Join Date
    12-09-2013
    Location
    Portland
    MS-Off Ver
    Excel 2010
    Posts
    6

    Scraping/Importing Table

    Hi all,

    I've been struggling with this, and wanted to see if someone might have a solution. I'm looking to import the lap by lap leaderboard at this address:

    http://www.nascar.com/en_us/sprint-c....raw_feed.html

    Of course, the table can't be imported automatically as Excel doesn't recognize it as a table so it requires a macro for sifting through the HTML. However, I'm fairly inexperienced with VBA currently and haven't been able to create a working macro for this purpose.

    It appears the table I want to grab here has the "pqrStatistic" id


    I would really appreciate any help with this. Thanks!


    Luke

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

    Re: Scraping/Importing Table

    Hi Luke,

    You may be in luck with t his question. Excel now how a newer tool called Power Query (Get & Transform in 2016). In the 2010 version of Excel you will need to install the add-in. Then read this:

    https://support.office.com/en-us/art...7-D3DA689091B5

    I just looked at your url and can get 4 different tables from it.
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  3. #3
    Registered User
    Join Date
    12-09-2013
    Location
    Portland
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Scraping/Importing Table

    Thanks Marvin for letting me know about this! Really awesome add-in. I'm kind of disappointed, the solution was almost too easy!

+ 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. Importing table from Web
    By nkyg1985 in forum Excel General
    Replies: 0
    Last Post: 07-11-2013, 10:51 AM
  2. importing multiple csv into 1 table
    By saimike in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 10-19-2011, 03:36 PM
  3. Importing Word Table
    By adds007 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-03-2011, 01:54 PM
  4. Importing a PDF table into Excel
    By zapp7 in forum Excel General
    Replies: 5
    Last Post: 05-25-2010, 02:21 PM
  5. Importing Access table as it is.
    By sspandit in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 11-26-2009, 04:34 AM
  6. Importing a table that is on several pages into excel
    By edwine in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-14-2009, 10:49 AM
  7. Importing An Awkward Table
    By hackett1867 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-23-2008, 08:13 AM
  8. importing time from pdf as table and calculating
    By ludikris in forum Excel General
    Replies: 5
    Last Post: 04-12-2006, 03:58 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