Application.DecimalSeparator

  • Thread starter Thread starter Niek Otten
  • Start date Start date
N

Niek Otten

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 Tools>Options>International, Use system separators checked, this will not be reflected in
Application.DecimalSeparator.
Can anybody tell me what I should use to get that?

Thanks,
 
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" <[email protected]>
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 Tools>Options>International, Use system separators checked, this will not be reflected in
Application.DecimalSeparator.
Can anybody tell me what I should use to get that?
Thanks,
 
Thanks, Jim!

That seems to work.

--
Kind regards,

Niek Otten

| 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" <[email protected]>
| 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 Tools>Options>International, 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
|
|
|
|
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top