Private Sub Workbook_BeforeClose(Cancel As Boolean)
'your code here
End Sub
--
Paul B
Always backup your data before trying something new
Using Excel 2000 & 97
Please post any response to the newsgroups so others can benefit from it
** remove news from my email address to reply by email **