ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Language of the local PC (https://www.excelbanter.com/excel-programming/331136-language-local-pc.html)

Patrick Fredin

Language of the local PC
 
Hi,

How can I know with VBA the language of the local PC ?

Thank you for your help.

--
Patrick

Tom Ogilvy

Language of the local PC
 
Look in Excel VBA help at Application.International


from the immediate window:

? application.International(xlCountrySetting)
1


Look at the international dialing prefix to interpret the value returned.
(01 for US in my case).

--
Regards,
Tom Ogilvy

"Patrick Fredin" wrote in message
...
Hi,

How can I know with VBA the language of the local PC ?

Thank you for your help.

--
Patrick





All times are GMT +1. The time now is 09:23 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com