Share via

Excel - How to disable data connection warning

Anonymous
2011-11-03T13:54:54+00:00

This problem has several posts with no solution.  I have a large spreadsheet that is now displaying the security warning "Data connections have been disabled." Nothing makes it go away permanently.  The Edit > Link is not an option as the "Link" is greyed out.  Copying, re-pasting, and deleting worksheets does nothing to stop the warning.  I use this spreadsheet everyday and this is truly annoying.   I'm am the sole user of the computer with no network security or macro issues.Thanks for any help.

Microsoft 365 and Office | Excel | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
Answer accepted by question author
  1. Anonymous
    2011-12-22T17:08:49+00:00

    This was helpful in getting rid of the annoying security message about data connections, thanks. I also always delete the data files after I've imported them. For what it's worth, instead of copying and pasting the values, I right clicked on the worksheet tab and chose Select All Sheets (I had multiple sheets) and then chose Move or Copy into a new workbook, checking the "Create a Copy" box. I then got a dialog box about data connections, but I clicked continue, and the newly created workbook doesn't have the error message, even after I've deleted the original workbook with the error message. All my formulas and formatting and so on are still there, too, so I'm happy.

    40+ people found this answer helpful.
    0 comments No comments
Answer accepted by question author
  1. Anonymous
    2011-11-04T01:57:26+00:00

    Hey ADS99,

    That message means that you've connected to an external data source at some point. That could be a number of things, but here's how you can pinpoint is generating the error:

    1. Open your Excel workbook
    2. Pick a sheet and press Command+A to select all
    3. On the menu bar at the top of the screen choose Data > Get External Data
    4. From this menu you have several options to import data. The last in the list is Import from FileMaker Server.... If any of the options below that are in black text rather than greyed out, that selection has a data connection.

    The following images make this a little easier to understand:

    Once you find the sheet with the data connection, you should be able to select a few rows at a time and follow the steps above until you find which portion of your workbook is causing the error. Once you find it, you should be able to migrate everything but that data to a new workbook and no longer have the error.

    There might be an easier way to do this, but this is the only workaround I could find. Hope this helps!

    8 people found this answer helpful.
    0 comments No comments
Answer accepted by question author
  1. Anonymous
    2018-01-20T23:48:30+00:00

    Had the same problem. Found this thread. The issue seems to be caused by a sheet containing data imported from a .csv, as suggested in other replies here. Solved by:

    1. Going to the sheet with the imports
    2. Selecting all (Command-A)
    3. Clicking on the "Data" tab in the Excel menu bar (not the Main Apple menu bar)
    4. Selecting "Connections" from the ribbon (which on my display is directly below the "Data" tab button)
    5. The window that opens identifies external connected files and what they are connected to and gives you "Remove", "Properties..." and "Refresh" as options.
    6. Select all external sources and click "Remove".
    7. Hit "OK" on the warning that follows.

    I have never used this function before, but from the way it presents, I doubt steps 1. and 2. are necessary: Data/Connections seems to open a workbook-level linked file manager. I only had one external link to remove, so I'm not sure if you can zap several at once in step 6.

    Hope this helps.

    4 people found this answer helpful.
    0 comments No comments
Answer accepted by question author
  1. Anonymous
    2014-10-01T21:26:25+00:00

    For me the problem was Defined Names.

    Go to Formulas -> Defined Names

    Delete any names that refer to other workbooks, or that are broken references.

    This happened to me because I deleted sheets in the workbook that had Defined Names (I didn't need the sheets or the Defined Names anymore). Deleting the sheets does not automatically delete the Names.

    I am using Excel 2010

    2 people found this answer helpful.
    0 comments No comments
Answer accepted by question author
  1. Anonymous
    2013-06-05T21:32:26+00:00

    I had a similar problem with breaking links to CSV files. I wanted to do this so I could re-import data into the same cells as I had used previously for importing; I could clear the cells but Excel wouldn't allow me to import data into them again. Deleting wasn't an option because these cells were surrounded by other data that I needed to keep in place.

    I don't know if this helps with these other issues, but in Excel 2008 I found that if I selected one of the cells in the range linked to the external data, went to Data->Get External Data->Data Range Properties and deselected the "Save query definition" checkbox (at the top of the resulting dialog box, under "Query definition"), I got a prompt that said,

    This will permanently remove the query definition from the sheet. Continue?

    I clicked OK and then I could re-import the data.

    Taking it one step further, I noticed that importing the data had resulted in named data ranges (visible in the list on the left of the formula bar) and I wanted to delete those as well. I went to Insert->Name->Define and selected the names that had been generated in the list there, one by one, and pushed delete.

    It's now as if I had typed all the data in rather than imported it from CSV files.

    0 comments No comments

25 additional answers

Sort by: Most helpful
  1. Anonymous
    2011-11-16T21:14:40+00:00

    Hi,

    I'm having exactly the same problem on MS Excel 2011 running on OS X Lion.  I have a large workbook with lots of information that I imported from several different .CSV files while I was still using Excel 2008.  After I upgraded to Excel 2011, I get the security warning "data connections have been disabled" every time I open the file.  It's rather annoying.

    I followed your suggestion to select all of the cells in each worksheet and then go under Data > Get External Data, but all of the options below "Import from FileMaker Server..." are greyed out for all of the data in my workbook.  I cannot find any data that has a data connection according to your instructions, yet I still get the security warning every time I open the file.

    If I go under the "Data" heading in the green ribbon and select Refresh > Refresh All, then I get a security warning followed by a dialog box asking me to select a file to refresh.  If I click "Cancel" in the dialog box, it gives me a message "The following data range failed to refresh: [name of previous .CSV file that I imported a long time ago]  Continue to refresh all?"  If I click "Continue" and repeat the process, I get similar messages that contain names of several .CSV files that I imported a long time ago.  These files were only one-time imports, and they have long been deleted from my computer.

    The "Data" heading also has a few other items, including "Parameters..." This option is greyed out.  I assume that the data parameters might have a preference for enabling data connections.

    It appears as though there are a few bugs in the software that need to be worked out.  In the meantime, do you have any other suggestions for removing the security warning message "data connections have been disabled"?

    Thank you

    2 people found this answer helpful.
    0 comments No comments