PC Review


Reply
Thread Tools Rate Thread

deactivate save changes

 
 
Roger on Excel
Guest
Posts: n/a
 
      25th Dec 2009
Excel 2003

I execute code in Before Close workbook in This Workbook

My problem is that excel re-asks if the user wishes to save changes after
doing the code.

Is there a way to deactivate the save changes dialog?

Many thanks
 
Reply With Quote
 
 
 
 
Tim Williams
Guest
Posts: n/a
 
      25th Dec 2009
Add:
ThisWorkbook.Saved=True
at the end of your code.

(assuming you don't want them to save it...)

Tim

"Roger on Excel" <(E-Mail Removed)> wrote in message
news:A0F1139B-C9B2-438E-86B8-(E-Mail Removed)...
> Excel 2003
>
> I execute code in Before Close workbook in This Workbook
>
> My problem is that excel re-asks if the user wishes to save changes after
> doing the code.
>
> Is there a way to deactivate the save changes dialog?
>
> Many thanks



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Deactivate Save As =?Utf-8?B?QWxleC5X?= Microsoft Excel Misc 5 21st Jun 2007 11:58 AM
Deactivate incjourn Microsoft Excel Charting 1 14th Sep 2004 06:45 PM
XP Deactivate? Newguy Windows XP Setup 3 4th Jan 2004 08:28 PM
Deactivate Energy Save Mode? DinaM Windows XP Basics 1 21st Nov 2003 08:02 PM
Deactivate Energy Save Mode dinaM Windows XP Basics 3 21st Nov 2003 01:42 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:28 PM.