decimal separator

  • Thread starter Thread starter Tomek
  • Start date Start date
T

Tomek

Hi,
does anyone know how to check with VBA what decimal separator is set in the
system. I'm using MS Office '97 and Win98 but it probably works the same way
in other versions too.
thanks in advance for the tip.
Tomek
 
Hi Tomek

Application.International(xlDecimalSeparator)

should work in all versions.

In Excel 2002 and forward, you can also use:

Application.DecimalSeparator
 
Hi Leo,
that's it! Great! At the same time I've learned of many, many other
parameters I often wondered about. The Application.International collection
gives a huge amount of useful information. Stupid me I didn't find it
before... :)
thanks a lot.
Tomek
 

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