Hi,
I think it should be a logical AND, not OR.
If the cell does not contain "+"
and it does not start with "=SUM" then clear the contents.
Code:
Sub foo()
Dim rngCell As Range
For Each rngCell In Range("A1:A10").Cells
'make sure the cell has a formula
If rngCell.HasFormula Then
'make sure it does not contain a +
If VBA.InStr$(1, rngCell.Formula, "+", vbTextCompare) = 0 Then
'make sure it does not begin with a SUM function
If VBA.Left$(rngCell.Formula, 4) <> "=SUM" Then
rngCell.ClearContents
End If
End If
End If
Next rngCell
End Sub
Hope that helps...