Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Exiting Excel without being prompted

try this

ActiveWorkbook.Close savechanges:=False

-----Original Message-----

"David Ralph" wrote in

message
.. .
Hi,

Can anyone help, this has been bugging me for a while.

I'm trying to get Excel to close without prompting to

save the currently
open workbook.

I have already got a MSGBOX prompt with a "Yes" or "No"

prompt asking if
the
user wishes to save
before closing. Choosing "Yes" does as it is ment to

but if the user
chooses "No", the default Excel
save workbook "Yes", "No" or "Cancel" prompt appears.

How do I stop this
happening?


Application.DisplayAlerts=False

Keith


.

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
Upon exiting Excel I am not prompted to SAVE the file ebbs Excel Discussion (Misc queries) 4 September 25th 08 06:08 AM
Exiting Excel MEAD5432 Excel Discussion (Misc queries) 2 December 7th 07 11:05 PM
Why am I prompted to save changes I haven't made in Excel 2002? Rob Setting up and Configuration of Excel 1 August 26th 06 01:51 PM
how do I update links without being prompted in Excel? katie.donovan Excel Discussion (Misc queries) 2 November 2nd 05 05:25 PM
how do I update links without being prompted in Excel? katie.donovan Excel Discussion (Misc queries) 1 October 6th 05 05:29 PM


All times are GMT +1. The time now is 11:40 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"