Solved

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

Posted on 2007-03-20
9
803 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
 

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
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

As with any other System Center product, the installation for the Authoring Tool can be quite a pain sometimes. This article serves to help you avoid making these mistakes and hopefully save you a ton of time on troubleshooting :)  Step 1: Make sur…
This collection of functions covers all the normal rounding methods of just about any numeric value.
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.
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…

762 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now