Hi there,
I need a macro or any other way to replace regular and special characters in excel. I have this macro but only the last line is working. Any ideas? Thanks!
Sub Special_Characters()
'
' Special_Characters Macro
Range("A1:ZZ200000").Replace What:="á", Replacement:="a", LookAt:=xlWhole
Range("A1:ZZ200000").Replace What:="¯", Replacement:="a", LookAt:=xlWhole
Range("A1:ZZ200000").Replace What:="¦", Replacement:="i", LookAt:=xlWhole
Range("A1:ZZ200000").Replace What:="ñ", Replacement:="n", LookAt:=xlWhole
Range("A1:ZZ200000").Replace What:="ó", Replacement:="o", LookAt:=xlWhole
Range("A1:ZZ200000").Replace What:="Ñ", Replacement:="N", LookAt:=xlWhole
Range("A1:ZZ200000").Replace What:="í", Replacement:="i", LookAt:=xlWhole
Range("i1:i500").Replace What:="pr", Replacement:="US", LookAt:=xlWhole
End Sub
Bookmarks