If the cells are for direct entry it's unlikely they'll have a formula
in so:
Range("E9:H33").SpecialCells(xlCellTypeConstants,
7).ClearContents
otherwise to detect unlocked cells:
For Each cll In Range("E9:H33").Cells
If Not cll.Locked Then cll.ClearContents
Next cll
--
p45cal
*p45cal*
------------------------------------------------------------------------
p45cal's Profile:
http://www.thecodecage.com/forumz/member.php?userid=558
View this thread:
http://www.thecodecage.com/forumz/sh...d.php?t=120852