Solved

Excel doesn't prompt me to save when closing a file / excel?

Posted on 2007-03-20
9
813 Views
Last Modified: 2007-04-29
When I close out of excel, excel doesn't prompt me if I want to save or not (when I did not save my changes prior to closing). Why is this happening and how can I fix this?
0
Comment
Question by:dm25
  • 3
  • 3
  • 2
  • +1
9 Comments
 
LVL 85

Accepted Solution

by:
Rory Archibald earned 251 total points
ID: 18757013
Is this with all workbooks or one particular one? Do you have any add-ins loaded, and if so, which ones?
Regards,
Rory
0
 
LVL 4

Assisted Solution

by:psychakias2
psychakias2 earned 166 total points
ID: 18757061
This can be due to the following reasons:

1) The file has already been saved automatically.

If you have Office 2002 or greater, you will find this setting here: Tools > Options > Save > Save autorecover every XX minutes
If you have Office 2000 or less, you will find this setting here: Tools > Autosave

2)The file has hides VB code that saves it automatically.

To look if there is such code, Press ALT-F11 and look, and when the VBA window pops up, double click on the workgroup name (on the left side of your screen) to see the code that is behind this workbook.

You would be looking for something like this:

Private Sub Workbook_BeforeClose(Cancel As Boolean)
    Me.Save
End Sub
0
 
LVL 16

Assisted Solution

by:AdamRobinson
AdamRobinson earned 83 total points
ID: 18757083
0
Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

 

Author Comment

by:dm25
ID: 18757096
phychakias,

The > Options > Save > Save autorecover every XX minutes option is for autorecovery, not for autosafe.....I don't think its the same thing. I tried setting the autorecovery to 1 minute, and after 1 minute I close excel and open it back up again and it doesn't automatically save the file.

As for the VB code, shouldn't it still apply even if it is hidden?
0
 
LVL 85

Assisted Solution

by:Rory Archibald
Rory Archibald earned 251 total points
ID: 18757132
You might have code that does something like:
Private Sub Workbook_BeforeClose(Cancel As Boolean)
me.saved = true
End Sub
in which case Excel wouldn't bother saving the file.

Regards,
Rory
0
 

Author Comment

by:dm25
ID: 18757154
Rorya,

I have excel version 2002. The add ins that I have loaded are 1) Analysis Toolpack 2) Eurocurrency tools 3) Lookup wizard 4) Conditional sum wizard 5) Solver.
0
 
LVL 85

Assisted Solution

by:Rory Archibald
Rory Archibald earned 251 total points
ID: 18757215
And is it just one workbook you have this problem with or all of them? (or somewhere in between)
Do you have any code in the workbook(s) in question?
Regards,
Rory
0
 
LVL 4

Assisted Solution

by:psychakias2
psychakias2 earned 166 total points
ID: 18757376
dm25, if you find the code that I mentioned in my first post, then all you have to do is to hit delete. :-)
0
 

Author Comment

by:dm25
ID: 18998678
Not sure which solution is right (I didn't have to resolve this problem), so I thought I would give everyone points.  Thank you all.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Using Word 2013, I was experiencing some incredible lag when typing.  Here's what worked for me....
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

837 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question