Results 1 to 1 of 1

Get data(Tables) from multiple websites

Threaded View

  1. #1
    Registered User
    Join Date
    07-30-2012
    Location
    Coimbra
    MS-Off Ver
    Excel 2007
    Posts
    1

    Get data(Tables) from multiple websites

    Hello all, im a new user in this forum, and i really tried to search someone with a similar problem as mine, but I wasn't able to find anything similar so here it goes

    Im trying to create a macro (or any other way) to retrieve data from multiple websites, I can feed the macro with all the links, but after it has to select just 2 parts of the site and keep the html formatting and if possible delete the blank cells... I will try to post some screenshots to help you understand

    1.jpg

    in this image you can see, that I can import the "tables" keeping Full HTML format using Data>Import From Website

    The Url address that I want to import data from only change the last part (is the country tag)
    http://www.webometrics.info/rank_by_...y.asp?country=at can be am,pt, etc

    the only problem is if the list is longer that 50 Universities (in this case) the next page url will be the same with offset=50(for second page) or 100(for the third), 150(and so on), etc
    http://www.webometrics.info/rank_by_...asp?country=at&offset=50

    is it possible to create a macro to run all the urls, and verify if the list is longer than 50 (that means checking if url+offeset is avaible) and past all the data into a sheet?

    P.S: English is not my native language, but I will try to answer your question as best as I can.
    Last edited by Primordium; 07-30-2012 at 10:36 PM.

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