Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default How can you turn off "Do you want to save changes you made to ..."

How can you turn off "Do you want to save changes you made to 'filename'.xls"
when closing a file, in Excel 2003, if you made no changes. Excel used to
recognize that no changes were made.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default How can you turn off "Do you want to save changes you made to ..."

Hi,

To generate this prompt something is changing in the workbook even if you
don't recognise it as being a deliberate change but you could do this. Alt
+F11 to open VB editor. Double click 'This Workbook' and paste this in on the
right

Private Sub Workbook_BeforeClose(Cancel As Boolean)
Me.Saved = True
End Sub

But be aware you won't get the prompt to save if you have made changes you
want to keep and could end up losing them. My view FWIW, I wouldn't do it but
perhaps that's just my instinct to protect data.

Mike

"Cereal Killer" wrote:

How can you turn off "Do you want to save changes you made to 'filename'.xls"
when closing a file, in Excel 2003, if you made no changes. Excel used to
recognize that no changes were made.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default How can you turn off "Do you want to save changes you made to

Might be something like
=TODAY()
--
Gary''s Student - gsnu200781


"Mike H" wrote:

Hi,

To generate this prompt something is changing in the workbook even if you
don't recognise it as being a deliberate change but you could do this. Alt
+F11 to open VB editor. Double click 'This Workbook' and paste this in on the
right

Private Sub Workbook_BeforeClose(Cancel As Boolean)
Me.Saved = True
End Sub

But be aware you won't get the prompt to save if you have made changes you
want to keep and could end up losing them. My view FWIW, I wouldn't do it but
perhaps that's just my instinct to protect data.

Mike

"Cereal Killer" wrote:

How can you turn off "Do you want to save changes you made to 'filename'.xls"
when closing a file, in Excel 2003, if you made no changes. Excel used to
recognize that no changes were made.

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
In Excel 2003 is there a way to prevent "Save As" and "Print"? lucky2000 Excel Discussion (Misc queries) 3 April 26th 07 02:49 PM
"Save" and "Save As" options greyed out - "Save as Webpage" option Bill Excel Discussion (Misc queries) 0 January 16th 07 04:47 PM
remove the default,"Do you want to save changes made to xxx.xls?" Philly Flash Excel Discussion (Misc queries) 3 October 25th 06 11:45 PM
How do I turn off the "do you want to save" alert in excel? SLB, accounting Excel Discussion (Misc queries) 1 August 29th 06 10:38 PM
How do you turn off "Save a copy/Overwrite changes" dialog box Nicko Excel Discussion (Misc queries) 4 December 8th 05 05:22 PM


All times are GMT +1. The time now is 03:08 AM.

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

About Us

"It's about Microsoft Excel"