and if your not familiar with events
http://www.cpearson.com/excel/events.htm
also, if unfamiliar with the command for clearing the contents of cells,
some examples.
With Worksheets("Sheet1")
.Cells.clearContents
End With
With Worksheets("Sheet2")
.Range("A1,B9,C5:D7").ClearContents
End With
--
Regards,
Tom Ogilvy
"Joost" wrote:
Hello,
Is it possible to clear cells when a workbook is closed with vba
automatically.
I can't figur it out who can help me
Thanks