A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Try this macro. It will also clear cells that contain only soft or hard spaces.
Sub ClearBlanks()
Dim oCell As Range
On Error GoTo ExitHandler
Application.ScreenUpdating = False
For Each oCell In Selection.SpecialCells(xlCellTypeConstants)
If Trim(Replace(oCell.Value, Chr(160), " ")) = "" Then
oCell.ClearContents
End If
Next oCell
ExitHandler:
Application.ScreenUpdating = True
End Sub
You can, of course, replace Selection with a specific range.