+ Reply to Thread
Results 1 to 3 of 3

Getting External Data.. New Web Query

  1. #1
    Registered User
    Join Date
    10-10-2006
    Posts
    68

    Getting External Data.. New Web Query

    I'm trying to get some data from a webpage..
    I know very little about the specifics of the "Get External Data" command except that i need the webpage URL and the cell # to enter it to..

    Here is a sample link for what i'm looking for...

    http://www.covers.com/pageLoader/pag...referee23.html

    The number "23" at the end of the filename in this case ranges from 1-46 so basically i'm looking to grab info from 46 seperate pages, and placed onto 46 seperate sheets within a new workbook...

    Specifically the data i want is the table of data (jersey number, # of games, Home record, etc... and the Over/Under portion as well)....
    just the tables... no other BS...

    also i have no knowledge of VB or anything like that..

    is there anyway i can do this with minimal stress and maximum efficiency?

    thanks in advance!

  2. #2
    Forum Contributor
    Join Date
    11-29-2003
    Posts
    1,203
    To do this manually, select from the menu Data >> Import External Data >> New Web Query. Paste the address. This will bring up the web page. Scroll down to the part(s) you want and click there. The yellow arrow will turn into a green check. When you have all you want/need, click "Import". You will see it retreiving the data.

    To manually update the info, right-click on a cell with data in it and select "Refresh Data".

    If you do not want to do either of these 2 actions 40+ times manually (and who would blame you?), then turn on the macro recorder (Tools >> Macro >> Record new macro) while you do it once manually.

    Then "Edit" the code to make it do this as many times as you want/need.

  3. #3
    Forum Contributor
    Join Date
    11-29-2003
    Posts
    1,203

    For example ...

    Here is the code that the macro recorder gave me for refreshing one of the Web queries ...

    Please Login or Register  to view this content.
    Here is how I would re-write that in order to refresh every query in the workbook.

    Please Login or Register  to view this content.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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