Using Dutch, French and English documents.
It is my experience that Office DOES NOT recognize the language the right way. I write a document in the system language: okay, spelling and grammar are controlled, and language is automatically set to system language (even if the two other languages are installed in the system and in the office-laguage options)
Even while writing this text, all words are red underlined , so chrome does not detect the language either.
The system language is Dutch, and this problem has always existed, whatever I try or do, I have to select all, set the language manually, and then do the spelling check.
Looping through the languages makes no sense, if the detection is not right. It seems to me the language/spelling/grammar detecting/checking/ correcting options are on a stand-by since Ms-office 2007, or almost a decade. see here
If this has to do with the fact that Dutch is a 'small' language, I don't know.
If there was a way to "set language" for the current document, a simple start-up code would do the job, so far, I did not find code that does this, except this little simple code I wrote:
sub setlng()
'set language
Selection.WholeStory
With Selection
Select Case InputBox("What's your language? (NL= Nederlands, FR = Français, EN = English, DE = Deutch)")
Case "Nl", "NL", "nL"
.LanguageID = wdDutch
Case "Fr", "FR", "fR"
.LanguageID = wdFrench
Case "En", "EN", "eN"
.LanguageID = wdEnglishUS
Case "De", "DE", "dE"
.LanguageID = wdGerman
End Select
Application.CheckLanguage = True
End With
End sub
Clearly, since MSoffice was written in English, you have to use the ENGLISH word for your language, in stead of the language's it's word for it's language, which would be logical...
I'm very curious about people who live in Azerbeidjan, eve find their language "Selection.LanguageID = wdAzeriCyrillic"
... hm...