Solved

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

Posted on 2007-03-20
9
812 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
The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

 

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

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

Excel can be a tricky bit of software to get your head around. Whilst you’ll be able to eventually get to grips with the basic understanding of how to get by, there are a few Excel tips that not everybody will even know about let alone know how to d…
When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

809 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