Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi, can you help me?
I need replace dot (.) to comma (,) in worksheet cells. The number format is "123 456,00" in my international settings. Another application export numbers as "123.1234" format, but Excel knows the number as "123,1234" format. The cells a 34.2444 0.5687 97.7290 0.8474 34.2677 0.5689 97.7180 0.8067 ... The Selection.Replace What:=".", Replacement:="," ... command replace these cells as: 342 444 0,5687 977 290 0,8474 342 677 0,5689 977 180 0,8067 but I need as: 34,2444 0,5687 97,7290 0,8474 34,2677 0,5689 97,7180 0,8067 Thank you your time |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() try again but first change your international settings to allow 4 decimals using the "customize" button on the regional and language options in control panel. -- bill k ------------------------------------------------------------------------ bill k's Profile: http://www.excelforum.com/member.php...nfo&userid=821 View this thread: http://www.excelforum.com/showthread...hreadid=471856 |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I thank your advice, but it can't help me.
I tried to format the cells, like as "@" format and other custom format, but it doesn't work. If I replace "." to "," in these cells (34.2444 0.5687 97.1233 ...) in Excel with the Find&Replace dialog, it works properly. I record this commands and I play back it in VBA, the command doesn't work. If the cell's value is less then ~ 0.9999 or the decimals is 2 the replaced value is good but its formatted as text. If the cell's value greater than 1.0000, the ","/"." vanish from the replaced value (1.0000 -- 10 000) |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
"Find" a wildcard as a place marker and "replace" with original va | Excel Discussion (Misc queries) | |||
Excel - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell | Excel Discussion (Misc queries) | |||
change "true" and "false" to "availble" and "out of stock" | Excel Worksheet Functions | |||
HELP on "left","right","find","len","substitute" functions | Excel Discussion (Misc queries) | |||
Count occurences of "1"/"0" (or"TRUE"/"FALSE") in a row w. conditions in the next | New Users to Excel |