Marcus
Check out F5>Special>Constants for selecting the type of data you wish to delete
and that which you wish to maintain.
You can record a macro while doing this.
Alternative.............
Run this macro to select all non-protected cells then delete them.
Sub UnLocked_Cells()
'Bob Flanagan
Dim cell As Range, tempR As Range, rangeToCheck As Range
'rotate through all cells in the selection
For Each cell In Intersect(Selection, ActiveSheet.UsedRange)
If Not cell.Locked Then
'add to tempR if unprotected
If tempR Is Nothing Then
'do it this way for the first unprotected cell
Set tempR = cell
Else
'add subsequent cells this way.
Set tempR = Union(tempR, cell)
End If
End If
Next cell
'do this upon completion of the For..Next checking
If tempR Is Nothing Then
MsgBox "There are no UnLocked cells in " & _
"the selected range."
End
End If
'select qualifying cells
tempR.Select
Selection.ClearContents
End Sub
Gord Dibben MS Excel MVP