PC Review


Reply
Thread Tools Rate Thread

Closing workbook without saving changes

 
 
=?Utf-8?B?a3Jpcw==?=
Guest
Posts: n/a
 
      31st Jul 2007
I want to perform some cheks on workbook, afterthis I want to discard the
changes done on the workbook. I want it without input from user.

Thanks for the help in advance
 
Reply With Quote
 
 
 
 
=?Utf-8?B?Sm9obiBCdW5keQ==?=
Guest
Posts: n/a
 
      31st Jul 2007
sorry got the wrong line
ThisWorkbook.Close (SaveChanges = True)
--
-John
Please rate when your question is answered to help us and others know what
is helpful.


"kris" wrote:

> I want to perform some cheks on workbook, afterthis I want to discard the
> changes done on the workbook. I want it without input from user.
>
> Thanks for the help in advance

 
Reply With Quote
 
=?Utf-8?B?Sm9obiBCdW5keQ==?=
Guest
Posts: n/a
 
      31st Jul 2007
Add this to the end of your code
ThisWorkbook.Close (SaveChanges = False)
--
-John
Please rate when your question is answered to help us and others know what
is helpful.


"kris" wrote:

> I want to perform some cheks on workbook, afterthis I want to discard the
> changes done on the workbook. I want it without input from user.
>
> Thanks for the help in advance

 
Reply With Quote
 
=?Utf-8?B?a3Jpcw==?=
Guest
Posts: n/a
 
      1st Aug 2007
Thanks very much this is what i wanted


 
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
Closing workbook without saving clipboard mcalex Microsoft Excel Programming 1 19th Mar 2004 02:18 AM
Closing Workbook without Saving Chris Gorham Microsoft Excel Programming 2 11th Dec 2003 12:17 AM
Re: saving workbook upon closing program Alan Microsoft Excel Worksheet Functions 2 6th Nov 2003 11:24 PM
Closing workbook without saving changes EP Microsoft Excel Worksheet Functions 2 10th Oct 2003 12:34 PM
Closing a workbook without saving Darrin Henry Microsoft Excel Programming 2 24th Sep 2003 02:31 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:51 AM.