LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,824
Default close excel application.

..alertbeforeoverwriting refers to the warning you get when you drag cells over
non-empty cells.

Not overwriting the another file.

N10 wrote:

HI VJ

This what I use hope it helps

Application.AlertBeforeOverwriting = False
ThisWorkbook.Close savechanges:=False

This closes the work book with no prompt and does not save changes.

You could easily ammend the code to save with no alerts and close.

Best N10

"VJ" wrote in message
...
Hi,

Is there any way I can control the dialog box which prompts to save the
changes of the workbook? Basically I dont want to display the dialog box
when
they user clicks on cross.

Thanks


--

Dave Peterson

 
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
Excel Red X is grayed out & wont close application how do I fix chuckhn60 Excel Discussion (Misc queries) 1 June 16th 06 08:30 PM
Trying to close Excel Application in IE Pommy Excel Discussion (Misc queries) 3 November 24th 05 03:36 PM
macro to close excel application other than application.quit mary Excel Programming 1 September 14th 04 03:43 PM
Close Non-Microsoft Application From Excel Tom B Excel Programming 2 February 26th 04 06:40 PM


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

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

About Us

"It's about Microsoft Excel"