find and replace
Posted by Andonny on June 15, 2001 3:48 AM
Hi,
I need to find all the empty cells and replace them with a "0". I have the
code below to do that. The problem I am having is that it should only do
that in column A based on the last cell used in column B.
Sub FindReplace()
Range("A1:A100").Replace What:="", Replacement:="0", LookAt:=xlPart, _
MatchCase:=False
End Sub
Thank you for your help
Andonny