I'm trying to clean up my spreedsheet. There are many blank cells which are throwing off the count. I tried using this code but it's giving me a run-time error.
Sub ClearAll()
Dim c As Range, MyRange As Range
Set MyRange = Range("A1:JS87")
For Each c In MyRange
If Len(c) = 0 Then c.ClearContents
Next c
End Sub
For each c in MyRange.Cells?