Technology in terms you understand. Sign up for the Confident Computing newsletter for weekly solutions to make your life easier. Click here and get The Ask Leo! Guide to Staying Safe on the Internet — FREE Edition as my thank you for subscribing!

Why do the changes I’ve made to a document that was emailed to me disappear?

Why do the changes I’ve made to a document that was emailed to me disappear?

Naturally there are a lot of ways that things can go wrong and disappear, but dealing with documents that have been emailed to you as an attachment adds another small layer of complexity.

You may think you’re just editing a document, but you’re also editing the email that it came in. And that’s where things can get confusing.

Become a Patron of Ask Leo! and go ad-free!

For the record, I’ll be referring to Outlook. This discussion applies mostly to email programs like Outlook, but the principals may apply to other email programs as well. Similarly, I’ll be using Microsoft Word and a word processing document as the example attachment, but the concepts apply regardless of the type of document attached.

An attachment is nothing more than a specially formatted part of an email message. Outlook knows that it’s special, so it shows as an attachment icon rather than the illegible specially coded mess that attachments are actually stored as.

Mailboxes When you open an attachment, say by double clicking on its icon, Outlook decodes the attachment from the email and writes it to a temporary location. Then a program such as Word is used to view or edit the temporary copy.

Note the repeated use of the word “temporary”. When you close Word, the temporary file is deleted by Outlook. The original remains encoded within the email, but the temporary copy that you were actually viewing is gone.

So, what if you made changes to the document you were viewing?

First, you’ll have to save the changes to the temporary copy in Word. If  you make a change and then go to close Word, then it will first ask you if  you want to save the changes you’ve made.

As I said earlier, when you close the attachment, the temporary file you were looking at is deleted. However, Outlook will notice that the document has been changed. Before deleting the temporary file, it will update the attachment within the open email message.

Lastly, when you go to close that email message, Outlook will ask you “Do you want to save changes?”. This can be confusing, because to all outward appearances the email message hasn’t changed. But in fact it has, because you made changes to the attachment that is part of the message. If you don’t save changes at this point, those changes to the attachment will be lost.

What if the message wasn’t open? Well, it had to be open in order to open the attachment in Word. If you close the message before you close Word you lose the possibility of updating the attachment in the message. Outlook will usually warn you if you’re about to do this.

The good news is that if you’ve closed the message and Outlook can’t  update it, it also doesn’t know that it needs to delete the temporary file when Word closes. So you may be still able to find the document by searching in your temporary folders.

Finally, my recommendation is actually very simple: avoid all this. Just don’t do it that way.

Instead, if you need to edit a document that has arrived as an attachment, use “Save Attachment” to save it to disk first. Put it in “My Documents” or some other place that you’ll remember. Edit it to your heart’s content without worrying about Outlook, and open messages and/or temporary files. Then, when you need to send it to someone else or reply to the person that sent it in the first place, just attach your new copy of the document to your message.

Do this

Subscribe to Confident Computing! Less frustration and more confidence, solutions, answers, and tips in your inbox every week.

I'll see you there!

16 comments on “Why do the changes I’ve made to a document that was emailed to me disappear?”

  1. Hi Leo,

    Thanks for your thorough explanation. I just had a row with our IT guys over this issue. Your email explains in a lot more detail why the changed attachment doesn’t get saved, but I was wondering if there is anything that can be done in the meantime. Is there any little programme that can be run to disable the “save” option on excel attachments so that you are forced to use “save as” or can you some how set Outlook up so that it auto saves documents into a designated non-temporary folder. It drives me nuts that everyone passively explains why the problem exists and no one knows of a way to fix it… everyone i know in every company i’ve worked in has lost large ammounts of data in this way, more than once. It’s just so counter-intuitive the way it works now.

  2. Yes, I understand it. But where the document is temporarily stored? When I open the file agian it has the (1) attached at end. If I open it third time it has (2) attached. It means the document exists somewhere, but where? I made changes, saved, closed, returned to Outlook, pressed Reply, the message close without asking a thing, and I discovered I have not given an option to save the document at any point. Word recent documents does not list it, Search does not discover any document with similar name on whole drive C:. And Outlook Aplication data folder also does not contain any usable file.

  3. browse to:
    C:Documents and Settings%username%Local Settings

    Search the ‘temporary internet files’ folder for the extention of your file.
    EG: you have been working on a powerpoint file: search for: *.ppt

  4. It’s easy to go into this trap if you edit the attachement in the reading pane (without opening the message). This way Outlook won’t notice the changes in the attachement and you lost them. Worst is if the attachement is another e-mail message. I could not find the corresponding temporary file, or it was blocked by Outlook and deleted when I exited Outlook.

  5. I had the same problem with a word attachment
    this was what I did
    1)cd C:Documents and Settings%username%Local Settings
    2)dir /A /S *.doc
    3)copy “filename.doc” c:

  6. Francesco, you are a lifesaver! This worked – except that I had to change the directory to Temporary Internet Files and then the Outlook folder (OLKxx). I never knew you could recover modified Outlook attachments. Strange that they don’t show up in Windows Explorer but appear in the DOS file list. Thank you so much!

  7. I never though it would ever happened to me. i opened word document from my e-mail to finish the paper I was working on and closed it without saving in on my hard drive. I was devasted, 6 hours of work went waste! I was trying to locate it by all means possible, searched tepm files, word recovery files and couldn’t find it. I downloaded couple of free document recovery programs but it didn’t help.I followed the instructions posted by Francesco, found the file in DOS list, but it didn’t copy. Then i decided to purchase EASEUS Data Recovery and it found and restored my lost data! So happy!

  8. Does anyone know Microsofts “Official” stance on this…is this a feature or a bug? I’ve got users who seem to operate this way on a regular basis and this behavior causes them difficulty. I understand there’s a “don’t do it that way” work around but was wondering what the official response was.

    I don’t know that there’s an official position. However I can say that everything is operating as expected and by design. It’s more a matter of understanding how documents are being handled in email that sometimes confuses people.

    – Leo
  9. This is great!
    I made changes in the attachement of the e-mail, forgetting that I did not save it to computer, but at least I clicked save several times during work. When I realised that, after I just closed the document, I felt so bad because I’ve been working on it a few hours.

    Downloading the Handy Recovery 4.0 solved all my problems so easy that I still can not believe. Just read the tips at the beginning and you will need a few minutes to get the file you need. And the best thing is filter which helps you to find it even by name.

  10. I spent half a day editing a brochure under very tight deadlines when I discovered all of my edits disappeared because I had edited the document that was attached to email. In an absolute, utter panic, I searched online for a solution and ended up on this (Ask-Leo) page. You are my saviour, Leo! Thank you, thank you, thank you. I found the doc in my temp directory. Phew!

  11. This feature quit working for a couple of users in our company. they are no longer able to save the attachment with edits. It opens as Read Only. I can’t duplicate it on my PC. Any idea how to turn it back on?

    Not offhand – could be several things. But they can always save a copy to a location of their own choice which would read/write.


    • When a document opens as Read Only, there is usually a button to click which says something to the effect of “Allow editing”. Then, you can save the document with the “Save as” or “Save a copy” menu option. If it doesn’t show an “Allow editing” button, you can usually save the document with the “Save as” or “Save a copy” from the File menu.

  12. In my case for a Windows XP PC, I needed to goto ….Local SettingsTemporary Internet FilesContent.Outlook folder to find the lost updated spreadsheet attachment

  13. ROAR!!!! all hail to Francesco the greatest exponent of document recovery ever to visit the internet. Two days of painstaking work I ploughed into a word document not realizing I had originally opened it from an email attachment. When it vanished this evening I was ready to turn my back on the IT game and move into a monastery. I don’t understand the recovery method you outlined but when it worked for me just now I literally burst my guts open with relief

  14. This essay doesn’t quite jibe with how it works for me. If I open a word attachment it always opens as a read only document and warns me that I need to save a copy of it when I try to close it. If I close the email before closing the document it warns me that I have an attachment open and will lose all changes unless I save it. I would have a hard time losing my changes. I’m using Office 2013, but if I remember correctly this is how it worked in Office 2010 as well. I’m using the enterprise editions of Windows 8.1 and Office. I don’t know if that makes a difference or not.

  15. I usually save the attachment before editing, but if I sometimes open the attachment from the email, instead of clicking Save, I click Save as. The default location it shows will the Temp folder. I navigate to the appropriate sub-folder in my Documents folder and save it there.


Leave a reply:

Before commenting please:

  • Read the article.
  • Comment on the article.
  • No personal information.
  • No spam.

Comments violating those rules will be removed. Comments that don't add value will be removed, including off-topic or content-free comments, or comments that look even a little bit like spam. All comments containing links and certain keywords will be moderated before publication.

I want comments to be valuable for everyone, including those who come later and take the time to read.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.