peggyj2007
05-04-2008, 01:25 PM
Hi All,
I have a client who has users working in Canadian English and French. Their window settings are set according to language of choice. One of the things is commas between numbers in French. As an example an English margin setting is 1.5 inches where the French margin setting would be 1,5. When I run the English margin setting though the macro when set up on a French workstation I get an error due to this.
Now I can get this set up into variables with no problem as the English ones are set up this way but how do I find out what language Windows is set in from within VBA/the macro? An INI file is not an option as the client does not want this under any circumstance.
Thanks in advance
Peggy
I have a client who has users working in Canadian English and French. Their window settings are set according to language of choice. One of the things is commas between numbers in French. As an example an English margin setting is 1.5 inches where the French margin setting would be 1,5. When I run the English margin setting though the macro when set up on a French workstation I get an error due to this.
Now I can get this set up into variables with no problem as the English ones are set up this way but how do I find out what language Windows is set in from within VBA/the macro? An INI file is not an option as the client does not want this under any circumstance.
Thanks in advance
Peggy