Save message before closing excel

Muratti

New Member
Joined
Apr 21, 2002
Messages
16
Does anybody know how I can get rid off the "do you want to save your changes?" message, before you quit Excel?
Or how can I make it automatically say no to this message.
Thanks
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
Workbooks("myworkbook.xls").Close SaveChanges:=False
(quick enough response?)
This message was edited by Qroozn on 2002-04-25 18:59
 
Upvote 0
That was fast Q, similarily:

Code:
thisworkbook.close false
Just less typing... Good eve. (here at least) to you both.

_________________
Cheers,<font size=+2><font color="red"> Nate<font color="blue">O</font></font></font>
This message was edited by NateO on 2002-04-25 19:04
 
Upvote 0
NateO.
I like your style.
but its midday here in Sydney.

thanks for those little tips.
they help simplify my own code.(still an XL novice)
 
Upvote 0

Forum statistics

Threads
1,213,510
Messages
6,114,048
Members
448,543
Latest member
MartinLarkin

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top