ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   dot 2 koma (https://www.excelbanter.com/excel-programming/286099-dot-2-koma.html)

Rafał Kłysiewicz

dot 2 koma
 
Hello group,
I made a very simple macro: Change every "." in to ",". Quite easy, but ...
The problem is that when I call the macro it works almost I expected with
one serious problem. The numbers I get are not seen as they should be.
Indeed they have komas but I am not able to make any single operation on
them. Probably they have a bad format.
When I do it manualy it works just fine. Any ideas?

Thanks,
---
Rafi



Jean-Yves[_2_]

dot 2 koma
 
Hi,
Excel read the decimal separator from the Regional settings. Change it and
excel will use the
other deciaml separator.
Regards,

JY

"Rafał Kłysiewicz" wrote in message
...
Hello group,
I made a very simple macro: Change every "." in to ",". Quite easy, but

....
The problem is that when I call the macro it works almost I expected with
one serious problem. The numbers I get are not seen as they should be.
Indeed they have komas but I am not able to make any single operation on
them. Probably they have a bad format.
When I do it manualy it works just fine. Any ideas?

Thanks,
---
Rafi





Jean-Yves[_2_]

dot 2 koma
 
Hi Rafa,
As you did not specify ...
Depending on which version of Excel you are using : in Excel 2002 XP
You can specify which decimal separator to use. Regional settings or XL
(via tool/option/International)

"Rafał Kłysiewicz" wrote in message
...
Hello group,
I made a very simple macro: Change every "." in to ",". Quite easy, but

....
The problem is that when I call the macro it works almost I expected with
one serious problem. The numbers I get are not seen as they should be.
Indeed they have komas but I am not able to make any single operation on
them. Probably they have a bad format.
When I do it manualy it works just fine. Any ideas?

Thanks,
---
Rafi






All times are GMT +1. The time now is 03:19 AM.

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