Retrieve language of Excel2003

  • Thread starter Thread starter Andreas Strubel
  • Start date Start date
A

Andreas Strubel

Hi,

I want to retrieve the language of the installed Excel. Right now i'm using
the following registry key to do that:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\11.0\Common\LanguageResources\SKULanguage

But that only works if all installed office applications are of the same
language, because the key contains the language of the last installed
application. If there are several languages installed you can't be sure if
the key contains the Excel language or not.

Is there another way to get the correct language?


Thanks & Bye,
Andi
 
dim id as long
id = Application.LanguageSettings.languageid(msolanguageIDExemode)

HTH
 
Back
Top