This can be done only with VBA code. In the ThisWorkbook code
module, use code similar to the following:
Private Sub Workbook_BeforeClose(Cancel As Boolean)
If Range("A1") = "" Then ' change A1 to the desired cell
Cancel = True
End If
End Sub
--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com
"Sierra Coating" <Sierra
wrote
in message
...
I would like to know if there is a way that I can set up a file
that will not
allow someone to close it until certain cells are filled in.