itsmyjob
Mechanical
- Apr 11, 2002
- 2,375
Hi All,
my int setting for decimal is point (.)
I need a CSV file, made from excel, to have coma (,) instead of point(.).
I donno why but for low value it works
0.254 => 0,254 as text (good)
but for higher value it doesnt work
123456.789 => 12 356 789 as value (bad)
when i dont use the macro but the replace function it works...![[pc] [pc] [pc]](/data/assets/smilies/pc.gif)
the code is :
Range("A1
5"
.Select
Selection.Replace What:=".", Replacement:=",", LookAt:=xlPart, SearchOrder:=xlByRows,_ MatchCase:=False, SearchFormat:=False, ReplaceFormat:=False
thanks Have fun,
Eric
catiav5@softhome.net
my int setting for decimal is point (.)
I need a CSV file, made from excel, to have coma (,) instead of point(.).
I donno why but for low value it works
0.254 => 0,254 as text (good)
but for higher value it doesnt work
123456.789 => 12 356 789 as value (bad)
when i dont use the macro but the replace function it works...
![[pc] [pc] [pc]](/data/assets/smilies/pc.gif)
the code is :
Range("A1
Selection.Replace What:=".", Replacement:=",", LookAt:=xlPart, SearchOrder:=xlByRows,_ MatchCase:=False, SearchFormat:=False, ReplaceFormat:=False
thanks Have fun,
Eric
catiav5@softhome.net