+ Reply to Thread
Results 1 to 4 of 4

Data connection from web / web query returns code instead of selected data table

  1. #1
    Registered User
    Join Date
    02-14-2014
    Location
    Seattle, WA
    MS-Off Ver
    Excel 2010
    Posts
    5

    Data connection from web / web query returns code instead of selected data table

    Hello,

    A web query I am trying to use to bring an online data table into my worksheet is broken. Now, instead of returning the data table nicely into my worksheet, it imports the code of the webpage, instead, and turns my worksheet into a mess.

    The query used to work but there was recently an "upgrade" to the program that populates the web table and the query no longer works and just returns the code for the page, instead. I can see the html code for the table in all of the code it returns but I really need the table to import cleanly into excel.

    I can't talk to the people who changed the web program. Any suggestions on what I can try on my end?

    Thanks!

  2. #2
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Data connection from web / web query returns code instead of selected data table

    You are at the mercy of the people that own the web site and there is little that you can do about it.
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  3. #3
    Registered User
    Join Date
    02-14-2014
    Location
    Seattle, WA
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Data connection from web / web query returns code instead of selected data table

    I was afraid of that. It's strange, though, the page and tables look the same from before the upgrade. Also, my workbook imports three sets of tables from the same site and one set works, the other two, even though the look the same, return the mess of code instead of the properly formatted table.

    Any idea of what would cause this? I may be able to get in touch with website people.

  4. #4
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Data connection from web / web query returns code instead of selected data table

    There could be many different things that is preventing you to make successful links. Who knows, maybe they are using a different method to produce the tables and Excel doesn't understand what it is receiving. Maybe the name assigned to the table has been re-assigned to some other table.

    If this is an independent web site, don't expect much co-operation.

+ 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. Code to copy selected data based on critera in a table
    By jonathan.haynes in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-14-2013, 01:08 PM
  2. Can Excel link a query or code to pull pivot table report data
    By Miskondukt in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 02-06-2013, 04:57 PM
  3. How to query an Excel file in an External Data Connection
    By greyscale in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-11-2013, 01:06 AM
  4. Connection but no records writing VBA query to retrieve data from SQL Server 2012
    By sportsguy in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-01-2012, 03:20 PM
  5. Data connection issue (query not visible)
    By ppataki in forum Excel General
    Replies: 0
    Last Post: 03-06-2009, 05:02 AM

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