Replace Macro HELP!!!!!!!!
Posted by George on March 12, 2001 2:00 AM
Hi,
I'm trying to get a macro to replace numbers on to names. ie. Number 1 will be "UK", number 2 "Spain" etc.. using this macro:
Columns("A:A").Replace _
What:="1", Replacement:="UK"
Columns("A:A").Replace _
What:="2", Replacement:="Spain"
It all works OK until I get to numbers above 10, ie 12 when instead of replacing it with the correct name, it replaces it with "UK" (1) and "Spain" (2).
Any ideas?
Thanks
George