views:

85

answers:

1

Hi guys,

I'm trying to figure out a way of detecting the language of an installed version of Excel (ideally from C++). I need this to resolve an issue with computers on which the language of Excel differs from the Windows language (see this problem).

+4  A: 

Using automation, the applications LanguageSettings object gives you that:

Application.LanguageSettings.LanguageID(msoLanguageIDUI)
Georg Fritzsche
Thanks, Georg. Here's a full example of how to resolve the issue I was talking about (in C#) http://www.add-in-express.com/creating-addins-blog/2009/02/13/old-format-invalid-type-library/
Radoslav Hristov