B
Blewyn
How do I code a routine to clear cells which result in DIV/0 or zero ?
So far I have :
Cells(Count, colcount).Activate
Check_for_Null = IsNull(ActiveCell.Value)
If (Check_for_Null = True) Then ActiveCell.ClearContents
Zero_check = Str(ActiveCell.Value)
If Zero_check = "0" Then ActiveCell.ClearContents
but I keep getting type mismatch...
Is there a better way to do this ?
Thanks,
Blewy
So far I have :
Cells(Count, colcount).Activate
Check_for_Null = IsNull(ActiveCell.Value)
If (Check_for_Null = True) Then ActiveCell.ClearContents
Zero_check = Str(ActiveCell.Value)
If Zero_check = "0" Then ActiveCell.ClearContents
but I keep getting type mismatch...
Is there a better way to do this ?
Thanks,
Blewy