ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Replace dot with commas (https://www.excelbanter.com/excel-programming/313380-replace-dot-commas.html)

banavas[_19_]

Replace dot with commas
 

Dear Friends,

does any of you has any piece of VB code that replaces dots with comma
in a txt file?

Thank you,
G

--
banava
-----------------------------------------------------------------------
banavas's Profile: http://www.excelforum.com/member.php...fo&userid=1025
View this thread: http://www.excelforum.com/showthread.php?threadid=26880


Frank Kabel

Replace dot with commas
 
Hi
why not use a text editor and do it outside excel?

"banavas" wrote:


Dear Friends,

does any of you has any piece of VB code that replaces dots with commas
in a txt file?

Thank you,
G.


--
banavas
------------------------------------------------------------------------
banavas's Profile: http://www.excelforum.com/member.php...o&userid=10259
View this thread: http://www.excelforum.com/showthread...hreadid=268806



koala[_16_]

Replace dot with commas
 

Banavas,

Hi.

A simple macro will do it.

'change selection to suit

Columns("C:C").Select
Selection.Replace What:=".", Replacement:=",", LookAt:=xlPart, _
SearchOrder:=xlByRows, MatchCase:=False, SearchFormat:=False
_
ReplaceFormat:=False



cheers
Koal

--
koal
-----------------------------------------------------------------------
koala's Profile: http://www.excelforum.com/member.php...fo&userid=1295
View this thread: http://www.excelforum.com/showthread.php?threadid=26880



All times are GMT +1. The time now is 12:46 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com