+ Reply to Thread
Results 1 to 3 of 3

Import a whole page into a sheet using VBA

  1. #1
    Registered User
    Join Date
    10-29-2011
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    13

    Import a whole page into a sheet using VBA

    Hi all,

    I would like to import an entire page "http://www.wunderground.com/history/airport/coventry/2014/1/19/WeeklyHistory.html?req_city=NA&req_state=NA&req_statename=NA&MR=1" into the spreadsheet. In particular I need the last table.

    I tried web query, but I want to be able to alter the html code, that's why Web Query didn't work. Any help would be massively appreciated.

    VBA so far

    Please Login or Register  to view this content.

  2. #2
    Forum Contributor
    Join Date
    08-15-2012
    Location
    Australia
    MS-Off Ver
    Excel 2016
    Posts
    349

    Re: Import a whole page into a sheet using VBA

    Cross-post;
    http://stackoverflow.com/questions/2...heet-using-vba
    http://www.mrexcel.com/forum/excel-q...lications.html
    Please click the * Add Reputation if this helps
    If solved remember to mark Thread as solved

    "I'm glad to help and this is not meant to sound smart, but either you have super-human vision to see all those controls cleared one by one with the code I posted, or your computer is really slow."

  3. #3
    Valued Forum Contributor Sean Thomas's Avatar
    Join Date
    03-25-2012
    Location
    HerneBay, Kent, UK
    MS-Off Ver
    Excel 2007,2016
    Posts
    971

    Re: Import a whole page into a sheet using VBA

    Hi,
    heres a way to import the data required.

    As Blokeman says you should not cross post as you will waste peoples time if you already get an answer on other sites.
    But as there are no replies to the other posts here is my one.
    Attached Files Attached Files
    Regards
    Sean

    Please add to my reputation if you think i helped
    (click on the star below the post)
    Mark threads as "Solved" if you have your answer
    (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code:
    [code] Your code here [code]
    Please supply a workbook containing example Data:
    It makes its easier to answer your problem & saves time!

+ 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. Import table from a web page
    By RuiC. in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-03-2013, 06:15 PM
  2. Import from PDF embedded on web page?
    By JP Romano in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 04-11-2012, 04:01 AM
  3. Import data from a web page
    By Hoosaskin in forum Excel Programming / VBA / Macros
    Replies: 17
    Last Post: 01-23-2012, 12:37 PM
  4. Import images from web page
    By jenn13 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 05-22-2008, 11:31 AM
  5. Import data from a web page
    By POE Society in forum Excel General
    Replies: 1
    Last Post: 04-14-2005, 08:06 PM

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