K
KP
Hi,
I need a macro that can find the error value "#I/T" in the range A110 and
clear the contents.
I tried this one below, but it didn't work, so I hope someone can correct it
or write a complete different macro doing the same thing.
Sub CheckCell()
Dim rCell As Range
Dim sMyString As String
Set rCell = Range("A110")
If IsError(rCell.Value) Then
Cell.ClearContents
End If
End Sub
Regards,
Kaj Pedersen
I need a macro that can find the error value "#I/T" in the range A110 and
clear the contents.
I tried this one below, but it didn't work, so I hope someone can correct it
or write a complete different macro doing the same thing.
Sub CheckCell()
Dim rCell As Range
Dim sMyString As String
Set rCell = Range("A110")
If IsError(rCell.Value) Then
Cell.ClearContents
End If
End Sub
Regards,
Kaj Pedersen