ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Application.DecimalSeparator (https://www.excelbanter.com/excel-programming/359521-application-decimalseparator.html)

Niek Otten

Application.DecimalSeparator
 
Hi all,

I use Application.DecimalSeparator in a function to strip characters from a string and leave just a number.
I noticed that, if you have ToolsOptionsInternational, Use system separators checked, this will not be reflected in
Application.DecimalSeparator.
Can anybody tell me what I should use to get that?

Thanks,
--
Kind regards,

Niek Otten





Jim Cone

Application.DecimalSeparator
 
Hi Niek,
Something to try...
Application.International(xlDecimalSeparator)
Application.International(xlThousandsSeparator)
Regards,
Jim Cone
San Francisco, USA
http://www.realezsites.com/bus/primitivesoftware



"Niek Otten"
wrote in message
Hi all,
I use Application.DecimalSeparator in a function to strip characters from a string and leave just a number.
I noticed that, if you have ToolsOptionsInternational, Use system separators checked, this will not be reflected in
Application.DecimalSeparator.
Can anybody tell me what I should use to get that?
Thanks,
--
Kind regards,
Niek Otten





Niek Otten

Application.DecimalSeparator
 
Thanks, Jim!

That seems to work.

--
Kind regards,

Niek Otten

"Jim Cone" wrote in message ...
| Hi Niek,
| Something to try...
| Application.International(xlDecimalSeparator)
| Application.International(xlThousandsSeparator)
| Regards,
| Jim Cone
| San Francisco, USA
| http://www.realezsites.com/bus/primitivesoftware
|
|
|
| "Niek Otten"
| wrote in message
| Hi all,
| I use Application.DecimalSeparator in a function to strip characters from a string and leave just a number.
| I noticed that, if you have ToolsOptionsInternational, Use system separators checked, this will not be reflected in
| Application.DecimalSeparator.
| Can anybody tell me what I should use to get that?
| Thanks,
| --
| Kind regards,
| Niek Otten
|
|
|
|




All times are GMT +1. The time now is 09:23 PM.

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