View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Gary''s Student Gary''s Student is offline
external usenet poster
 
Posts: 11,058
Default how can I delete cells containing text within a range of cells

Try this small macro:

Sub cleantext()
For Each r In ActiveSheet.UsedRange.SpecialCells(xlCellTypeConst ants)
If IsNumeric(r) Then
Else
r.Clear
End If
Next
End Sub

--
Gary''s Student - gsnu200790


"jackwmbg" wrote:

EXCEL 2003