Results 1 to 4 of 4
  1. #1
    5 Star Lounger
    Join Date
    Mar 2001
    Posts
    989
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Web query of column (2007)

    I've recorded a macro to import data from a table of a web page. Is it possible to modify the code so that only particular columns of the table are imported? I know I could just delete the redundant columns but wondered if the above were possible?
    Thanks, Andy.

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Web query of column (2007)

    Not as far as I know. A web page table does not necessarily have the structure of a data table (columns=fields, rows=records).

  3. #3
    5 Star Lounger
    Join Date
    Mar 2001
    Posts
    989
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Web query of column (2007)

    Thank you. Didn't think so.. Andy.

  4. #4
    Platinum Lounger
    Join Date
    Feb 2001
    Location
    Weert, Limburg, Netherlands
    Posts
    4,812
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Web query of column (2007)

    No, you'd have to pull the data in using VBA. Dick's Daily dose of Excel has a post on processing tables using the IE object in VBA. Misplaced the link though.
    Jan Karel Pieterse
    Microsoft Excel MVP, WMVP
    www.jkp-ads.com
    Professional Office Developers Association

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •