+ Reply to Thread
Results 1 to 3 of 3

Excel Error on File Open Deletes Data Connection - Can I Recover the Connection

  1. #1
    Registered User
    Join Date
    09-07-2011
    Location
    Sacramento
    MS-Off Ver
    Excel 2007
    Posts
    37

    Excel Error on File Open Deletes Data Connection - Can I Recover the Connection

    Hi All,

    I have several Excel 2007 files that each have several worksheets connected to an external data source (SQL Server). My queries each return a table, and each table contains a number added columns that do some calculations and vLookUps on the returned data. On several occasions recently, I get an error when I open some of these files:
    image001.png
    image002.png

    When I allow the file to open, my tables are no longer connected to the data source and the tables/formatting are removed. All that remains is the data from the prior refresh (done at close of file during previous session), and my equations in the calculated columns. The actual data connections are still available within the workbook - I just cannot seem to figure out how to recreate my tables and links.

    1) Is there a simple way to restore my tables and connections to my data source while preserving my formatting (column order, etc) and calculation columns?
    2) Any idea why this error is regularly (although intermittently) occuring? Any way to fix it?
    3) The problem does not seem limited to a single file. Although, it is possible that I leveraged some of the data connections between files.

    Thanks - I am in a real bind on this one.
    Last edited by Filibuster; 04-24-2012 at 05:04 PM.

  2. #2
    Forum Contributor
    Join Date
    06-18-2010
    Location
    GA
    MS-Off Ver
    Excel 2013
    Posts
    523

    Re: Excel Error on File Open Deletes Data Connection - Can I Recover the Connection

    From the times this has happened to me, I have not been able to find a way to restore the tables/queries. I consider that workbook "corrupted." I have noticed this to only occur within Excel 2007, if I re-import the Queries/Tables and save the workbook in Excel 2000 or Excel 2010 it will work perfect.

    I do not have a rhyme or reason as to what makes it occur or why it occurs, just from my experience.

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

    Re: Excel Error on File Open Deletes Data Connection - Can I Recover the Connection

    Unfortunately your post does not comply with Rule 2 of our Forum RULES. Do not post a question in the thread of another member -- start your own thread.

    If you feel an existing thread is particularly relevant to your need, provide a link to the other thread in your new thread.

    Old threads are often only monitored by the original participants. New threads not only open you up to all possible participants again, they typically get faster response, too.
    <---------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

+ Reply to Thread

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