+ Reply to Thread
Results 1 to 4 of 4

Record extraction using VBA and web query

  1. #1
    Registered User
    Join Date
    04-29-2013
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    36

    Record extraction using VBA and web query

    I need some help extracting a list from a webpage. I am using the following VBA code below. I've attached the worksheet to which it corresponds. This is the webpage I'm trying to pull from:
    http://usabeachranking.com/jrranking...nder=1&Level=0

    My problem is the website divides up all of the records in sets of 50 on different pages but uses the same URL. Therefore, my VBA code will only bring back the first 50 records for each group I am trying to extract.
    Do you know how to pull all of the records for each URL? Please help!

    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by Leith Ross; 06-12-2014 at 11:14 PM. Reason: Added Code Tags

  2. #2
    Forum Expert
    Join Date
    11-29-2010
    Location
    Ukraine
    MS-Off Ver
    Excel 2019
    Posts
    4,168

    Re: Record extraction using VBA and web query

    hi doublea17, option, press Run button, hope this helps
    Attached Files Attached Files
    Last edited by watersev; 06-13-2014 at 09:30 AM.

  3. #3
    Registered User
    Join Date
    04-29-2013
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    36

    Re: Record extraction using VBA and web query

    Hi watersev, So I downloaded your document, opened the Visual Basic Editor and hit Run. But nothing happened. Am I doing something wrong?

  4. #4
    Forum Expert
    Join Date
    11-29-2010
    Location
    Ukraine
    MS-Off Ver
    Excel 2019
    Posts
    4,168

    Re: Record extraction using VBA and web query

    hi there, i'm sorry for that, please check attachment, press Get data button
    Attached Files Attached Files

+ 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. Invoice Data Extraction Query/VBA/???
    By billsfree in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-07-2014, 09:28 PM
  2. Add new record in SQL query
    By jik_ff in forum Access Tables & Databases
    Replies: 1
    Last Post: 11-12-2012, 09:23 PM
  3. Automatic web data query/extraction
    By JohnLee in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-08-2012, 09:28 PM
  4. VBA Loop Excel Record Extraction
    By JI in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-28-2006, 03:30 PM
  5. Dynamic record extraction from multiple worksheets
    By quiltandcook in forum Excel General
    Replies: 0
    Last Post: 06-25-2006, 06:25 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