I have a column range (stored as text) where I have to replace second last digit from 7 to 5 for only cells ending in "-fsa". Here is an example
Find
52881871-fsa
Replace
52881851-fsa
I tried using wildcard, however it only works in find function but doesn't work in replace function.
Thank You for the help!
I used following in my code, the find does what's asked but replace doesn't
Selection.Replace What:=("??????7?-fsa"), Replacement:=("??????5?-fsa"), _
LookAt:=xlPart, SearchOrder:=xlByRows, MatchCase:=False, SearchFormat:= _
False, ReplaceFormat:=False