Hi, can anyone help?
I have an add-in that loads in Word. What I need to know is how to identify the default language the user has set. Is anyone aware of how to do this? I have looked at Word.WdLanguageID and also InputLanguage but no joy.
Thanks in advance
Jack
Identifying Language in Word 2010
-
- Administrator
- Posts: 78545
- Joined: 16 Jan 2010, 00:14
- Status: Microsoft MVP
- Location: Wageningen, The Netherlands
Re: Identifying Language in Word 2010
Does NormalTemplate.LanguageID return the information that you want?
Best wishes,
Hans
Hans
-
- 2StarLounger
- Posts: 107
- Joined: 23 Mar 2010, 13:42
Re: Identifying Language in Word 2010
Thanks Hans but I've now found exactly what I was looking for:
Application.CurrentInputLanguage.Culture.DisplayName
I should have mentioned, I'm developing in VB.net
Regards
Jack
Application.CurrentInputLanguage.Culture.DisplayName
I should have mentioned, I'm developing in VB.net
Regards
Jack
-
- Administrator
- Posts: 78545
- Joined: 16 Jan 2010, 00:14
- Status: Microsoft MVP
- Location: Wageningen, The Netherlands