+ Reply to Thread
Results 1 to 3 of 3

VBA to Update Several Query Tables from Web Page Fails

  1. #1
    Forum Contributor
    Join Date
    03-27-2015
    Location
    Hong Kong
    MS-Off Ver
    Excel 2010
    Posts
    141

    VBA to Update Several Query Tables from Web Page Fails

    Dear Experts,

    I recently come across Query Tables to access Web data on Stock information, and got codes as below, but somehow fails in the line "SET QT = ……"

    Note that there are several Query Tables intended to access several web page data (only one exists in below uploaded file)

    Please Login or Register  to view this content.
    I've tried hard to modify the codes, but never able to pass the line "SET QT = ….."

    Grateful if anyone could help.

    Many thanks in advance.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    11-24-2013
    Location
    Paris, France
    MS-Off Ver
    Excel 2003 / 2010
    Posts
    9,831

    Arrow

    Hi,

    as any collection always ends with a 's' you just made a typo for QueryTables ‼ Like you can check within the VBA inner help …

  3. #3
    Forum Contributor
    Join Date
    03-27-2015
    Location
    Hong Kong
    MS-Off Ver
    Excel 2010
    Posts
    141

    Re: VBA to Update Several Query Tables from Web Page Fails

    Sorry, in fact I've tried before by adding s to QueryTables, but still failed.

    You may try testing the codes by downloading the Excel (but remember to add "s").

    Thx again

+ 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. Web Query not recognizing tables on page
    By alexrawnsley in forum Excel General
    Replies: 11
    Last Post: 08-18-2013, 07:00 PM
  2. query tables in VB not importing entire web page
    By hariimmadi in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-07-2011, 12:12 AM
  3. Replies: 2
    Last Post: 03-08-2006, 07:45 PM
  4. Page Break bug update query
    By Otto Moehrbach in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-25-2005, 03:05 PM
  5. Replies: 4
    Last Post: 04-01-2005, 11:06 PM
  6. Replies: 0
    Last Post: 03-30-2005, 03:06 PM
  7. [SOLVED] Update Query and Local Tables in Excel
    By Kevin in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-25-2005, 06:06 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