Put one of the Regional Settings in a variable

  • Thread starter Thread starter holysoul
  • Start date Start date
H

holysoul

Hi,

i would like to know if it is possible to look into my Regiona
Settings and take one of the paramaters there (being the decima
symbol) and put it into a variable. Doing all this in my VBA code...

if it's possible please tell me how!

thanks for anyone trying

Holysou
 
You can get the internationals decimal setting with code like

Dim DecSep As String
DecSep = Application.International(xlDecimalSeparator)
Debug.Print DecSep


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com
 

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