I'm really new to VBA and have a question about Selection.Replace on a cell with numeric values. The quest -- change cells with value '0' to 'UK'. Examples of cell values -- 0; 10; 102; 14, etc. With the following code the each '0' in the value changes to 'UK', so in my examples you get UK; 1UK; 1UK2; 14 -- see my problem. The code --
Columns("A:A").Select
Selection.Replace What:="0", Replacement:="UK", LookAt:=xlPart, _
SearchOrder:=xlByRows, MatchCase:=False, SearchFormat:=False, _
ReplaceFormat:=False
I'm new, so be kind.
Columns("A:A").Select
Selection.Replace What:="0", Replacement:="UK", LookAt:=xlPart, _
SearchOrder:=xlByRows, MatchCase:=False, SearchFormat:=False, _
ReplaceFormat:=False
I'm new, so be kind.