+ Reply to Thread
Results 1 to 2 of 2

Web query using URL parameter and dynamic range

  1. #1
    Registered User
    Join Date
    01-21-2014
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    1

    Web query using URL parameter and dynamic range

    Hi, I'm tasked with importing a pretty large data set into a single worksheet using many different URLs, each being identical but containing a different year (e.g. http://www.sports-reference.com/cbb/schools/air-force/[YEAR]-schedule.html#schedule::none , where [YEAR] goes from 2012 to, say, 1990). I understand the basics of setting up a web query and importing the tables one at a time using a .iqy file, but I need help automating it. What I'd like to do is concatenate these tables (each being 13 columns and around 32-35 rows) one after the other, so I end up with a table that's 13 columns wide and ~800 rows long. How do I tell Excel to start the next query in the row after where it left off?

    If it helps, I have each URL individually listed in A1:A23, so I can reference those directly if needed.

    Help is appreciated.

  2. #2
    Registered User
    Join Date
    04-20-2013
    Location
    Woking, England
    MS-Off Ver
    Excel 2003, Excel 2007
    Posts
    34

    Re: Web query using URL parameter and dynamic range

    Hi

    Welcome to the forum.

    Some way down the line, I have been working on something similar on another forum and potentially have the solution to this problem.

    Are you still seeking a solution?

    Can I assume that the 13 columns of data is as represented on the web-page.

+ 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. Replies: 0
    Last Post: 11-12-2013, 03:57 AM
  2. Parameter Query - Bad Parameter Type
    By Kyle123 in forum Excel General
    Replies: 0
    Last Post: 04-23-2013, 01:06 PM
  3. SQL query a dynamic Range
    By MDaubjerg in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-17-2012, 12:08 PM
  4. Web query with dynamic parameter picked up from cell values
    By naqviimran in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-09-2011, 01:10 AM
  5. Date Range Parameter Query
    By msmouse523 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-02-2007, 03:33 PM

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