Retrieve language of Excel2003

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
 
A

Ardus Petus

dim id as long
id = Application.LanguageSettings.languageid(msolanguageIDExemode)

HTH
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top