If your workbook has changed, Excel will automatically ask if you want to save.
If you want to switch off Excel asking whether to save a changed book, and exit without saving instead, then you need to program some VBA into the Workbook_BeforeClose event, to change the attributes of the book, so as to not trigger the automatic question. The code would be:
ThisWorkbook.Saved=True
Cheers, Glenn.
Did you hear about the literalist show-jumper? He broke his nose jumping against the clock.
Actually, what's happening is Excel is closing without prompting the user to save. Example: User opens a new spreadsheet, types something into the spreadsheet, closes the window, and no prompt is displayed asking to save the changes.
I need this prompt to be "re-enabled". As a side note, when I log in with a new user profile, renamed old profile to USERNAME.bak, and I take the same steps above, Excel does prompt to save. Hence, this is an issue w/the profile, and not so much with Excel. Or at least that is my hypothesis (Not very scientific, I know!)
Could be calculation turned off with the tickbox not checked to recalc on close....check your calculation settings under Tools>Options
Rgds, Geoff
We could learn a lot from crayons. Some are sharp, some are pretty and some are dull. Some have weird names and all are different colours but they all live in the same box.
----------------------------------------------------------------------------
It's easier to beg forgiveness than ask permission
----------------------------------------------------------------------------
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.