View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
LoveCandle[_32_] LoveCandle[_32_] is offline
external usenet poster
 
Posts: 1
Default Close without saving


Hi everybody,

I have the following code for closing the current workbook withou
saving changes

I want it to be developed to close all active workbooks


Code
-------------------
Private Sub Workbook_BeforeClose(Cancel As Boolean)
ActiveWorkbook.Saved = True
End Su
-------------------


Thank you

--
LoveCandl
-----------------------------------------------------------------------
LoveCandle's Profile: http://www.excelforum.com/member.php...fo&userid=2861
View this thread: http://www.excelforum.com/showthread.php?threadid=55545