View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Tom Ogilvy Tom Ogilvy is offline
external usenet poster
 
Posts: 27,285
Default 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