Problems replacing "." with ","
Posted by Ørjan Tjemsland on September 22, 2000 6:19 AM
I have made a macro that replaces "." with "," in numbers. The code I use is:
Range("D7:E13").Select
Selection.Replace What:=".", Replacement:=",", LookAt:=xlPart, _
SearchOrder:=xlByRows, MatchCase:=True
It works fine on numbers like "1.05". Then it returns "1,05". But on numbers like "1.005" it returns
"1005". What is wrong? Is this an Excel bug?