开发者

How to detect the language of MS Excel

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜