Is it possible to use VBA to detect which decimal sign is being used on the computer?
I have a macro script that adds a conditional formatting to an excel sheet. The
You can use the DecimalSeparator property.
Application.DecimalSeparator then returns the decimal separator defined by the locale that excel is being run with.
Application.DecimalSeparator
On a side note: It's advisable, even though it's possible, to not change this and instead leverage it to your needs.