Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

A client sent me some Excel .xlsx documents, and every time I open one of them and then close it, Excel asks if I would like to save changes, even if I didn't make any. This doesn't happen with any of my other Excel files. What is going on?

The files have no macros. I use Excel 2007.

share|improve this question
Are you selecting any of the cells within the document while it's open? Are there any macros that might be running on start? Excel considers it a change if the selected cell changes. – dangowans Sep 17 '12 at 21:58
I really HATE this behavior! Useless s*. The programmer(s) who did it is an i.. not smart. – Pedro77 Jul 23 '14 at 12:44
Did you find anything here worth accepting? It is always good for all SU users to have feedback from the OP posted. If you found the "culprit", it would also convey interesting feedback. – sancho.s Nov 20 '14 at 2:18

Copying from (it is worth reading the whole KB article):

"This behavior occurs when something in the file has changed. Many times the user doesn't realize there are elements in the file that have been updated or calculated. Here are some examples of common scenarios:

  • There is a volatile function used in the file. Examples of volatile formulas are listed in the more information section of this article.
  • The file has been opened in a newer version and formulas have been calculated. See article in the more information section.
  • A formula that contains a link to a formula in another workbook and that uses volatile functions.
  • Linked pictures.
  • Iterative formulas.
  • Charts that are on chart sheets or that are embedded into worksheets but that have their source data in another workbook.
  • VBA code that updates the workbook."

This list contains the cases mentioned in other answers as possibilities, and some others as well.

share|improve this answer

One possibility is that the .xlsx file contains external links in at least one cell. Eg

Workbook with external link

Normally if you open this file you will be prompted with...

enter image description here

However, there is an annoying setting that throws people off in DATA/EDIT LINKS/START UP PROMPT/Dont display the alert and update links which overrides this prompt

enter image description here

Unfortunately, when you close the workbook you still get the prompt to save which will update the links.

enter image description here

This is one possible clue..?


Another possibility is the .xlsx contains a date formula such as NOW() or TODAY() which will prompt a save upon closing

share|improve this answer
"Another possibility is the .xlsx contains a date formula such as NOW() or TODAY()" -- Indeed, any volatile formulae in the xslx will cause this behavior. – andy holaday Aug 23 '12 at 2:25

I was experiencing this problem on a Windows 7 PC and using Microsoft Office 2007.

I also have the MySQL 5.6 database server software on this PC.

While investigating the problem, I found that I had installed the MySQL for Excel 1.3.4 component and that this resulted in a "MySQL for Excel" add-in showing up in Excel.

Because I wasn't actually using this component, I went to the MySQL Installer and removed it. After doing so, I found that the "Do you wish to save ..." prompts stopped appearing (i.e. if I merely viewed a spreadsheet without modifying it).

Hope this helps...

share|improve this answer
this also happened to me with Excel 2010 – betatester07 Feb 25 at 22:29
anyway, any add-in can cause this so it is worth to check for all loaded add-ins – betatester07 Feb 25 at 22:30

It's likely that the .xlsx file was recalculated automatically when you opened it in Excel. Go to the Data tab to turn off automatic recalculation.

share|improve this answer
Automatic calculation is an unlikely culprit. A workbook with only non-volatile formulae will not prompt to save changes when none were made, even if automatic calculation is on. OTOH a workbook with volatile formulae will prompt to save changes unless automatic calculation is off. The more likely cause is the workbook contains volatile formulae. – andy holaday Aug 23 '12 at 2:34

None of the reasons anyone gave in any forum was the reason I was seeing this issue. I painstakingly moved little pieces from one workbook to another until the culprit revealed itself.

Someone had cut and pasted text into a sheet. The problem was that the text ended up as a floating shape with text in it, instead of going into a cell.

They are easy to see once you know they are there. Select all rows (so they appear with a light blue background). Then the labels or pictures or whatever, will stick out like white blocks. At least that is how it appeared for me. Your mileage may vary.

This ends a long and frustrating battle with excel.

share|improve this answer
I have created an empty worksheet, inserted a TextBox, saved, closed. Opening and closing again does not ask for saving. It would then be interesting to know what kind of object is your "floating shape with text in it". You could do that by: 1) Selecting the object, 2) Alt+F11 (to bring the VBA editor), 3) In the immediate window type ? TypeName(Selection)+<kbd>Enter</kbd>. – sancho.s May 22 '14 at 4:16

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .