Clear Contents Of Cells Where Value = 0
yes it could.
Right click the sheet tab and paste this in
Sub stantiate()
Dim myRange As Range
Set myRange = Range("C10:d1000")
For Each c In myRange
If c.Value = 0 Then
c.Value = ""
End If
Next
End Sub
Mike
"carl" wrote:
My range is c10:d1000. The cells have a data link (DDE) in them. The value of
the cell can be 0 to 3000.
Could a macro clear the contents of cells were the value is 0 ?
Thank you in advance.
|