Try this
Private Sub Workbook_BeforeClose(Cancel As Boolean)
ThisWorkbook.Save
End Sub
--
Regards Ron de Bruin
(Win XP Pro SP-1 XL2002 SP-2)
www.rondebruin.nl
"TTN" wrote in message ...
I am trying to save the current workbook within
WorkbookBeforeClose, but the workbook is not saving.
Is this a bug?
And how do I workaround this?
------------------------------------------------
~~ Message posted from http://www.ExcelTip.com/
~~View and post usenet messages directly from http://www.ExcelForum.com/