Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9
Default Close without "Do you want to save changes" prompt

Hello All
I would like to have a workbook that does not ask the user to save when
closing. I don't need big security, I just want to do away with the prompt.
Any assistance would be much appreciated.
Paul


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,302
Default Close without "Do you want to save changes" prompt

Hi Paul,

To *never* save changes, paste this into the ThisWorkbook module:

Private Sub Workbook_BeforeClose(Cancel As Boolean)
Me.Close SaveChanges:=False
End Sub


---
Regards,
Norman



"Paul" wrote in message
...
Hello All
I would like to have a workbook that does not ask the user to save when
closing. I don't need big security, I just want to do away with the
prompt.
Any assistance would be much appreciated.
Paul



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
is it possible to disable "save" prompt in excel file on web server? [email protected] Excel Discussion (Misc queries) 0 May 9th 07 05:58 PM
Disallow "SAVE" only "SAVE AS" or prompt DTTODGG Setting up and Configuration of Excel 6 December 21st 05 03:54 PM
MsgBox Prompt w/ No "X" to close Pablo Excel Programming 3 August 27th 04 09:00 PM
Disable "Save" &/or "Close" universal[_4_] Excel Programming 3 October 25th 03 12:38 PM
How can I get "File Close" to prompt me to "Save Changes" ?? Charles Jordan Excel Programming 4 July 31st 03 04:01 PM


All times are GMT +1. The time now is 11:09 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"