View Full Version : Changing the Dictionary Language


darbid
03-03-2009, 06:23 AM
I am going to be using the
acCmdSpellingmethod to spell check a field. It will be checking the english language on clients that can have any combination of languages for XP/Microsoft Access and also for the dictionaries.

I am therefore going to use the
Application.getoption
Application.setoption
to change and then change back the users dictionary.

Where are the codes/IDs for the "Spelling Dictionary Language"

I have found in other forums

Application.SetOption "Spelling dictionary language", 2057 'For Englishbut also
Application.SetOption "Spelling dictionary language", 5 ' for EnglishThese may be British and US english I do not know but where do I get this list from.

darbid
03-04-2009, 12:41 AM
I suppose it looks lazy when I could have just tested this, but at the moment testing is not possible.

In any case my research seems to back up the "2057" number as being correct as I think Dictionary Language uses the WdlanguageID from WORD. I had a look in the Object browser and UK is 2057 and US is 1033, more importantly all others are there as well.