开发者

How to detect the language of MS Excel

开发者 https://www.devze.com 2022-12-30 00:06 出处:网络
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 co开发者_运维问答mputers on which the language of Ex

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 co开发者_运维问答mputers on which the language of Excel differs from the Windows language (see this problem).


Using automation, the applications LanguageSettings object gives you that:

Application.LanguageSettings.LanguageID(msoLanguageIDUI)
0

精彩评论

暂无评论...
验证码 换一张
取 消