Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
![]()
Hi,
I have set up a macro to run spellcheck in a protected document but the macro runs the spellcheck in US English. I would like to change this to Canadian english - does anyone know what I should replace Selection.LanguageID = wdEnglishUS with? -- Gailc |
#2
![]()
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
![]()
If in the VBE you type:
Selection.LanguageID= you will get a list of languages to choose from. The one you want is fairly obvious Selection.LanguageID=wdEnglishCanadian -- Hope this helps. Please reply to the newsgroup unless you wish to avail yourself of my services on a paid consulting basis. Doug Robbins - Word MVP "Gailc" wrote in message ... Hi, I have set up a macro to run spellcheck in a protected document but the macro runs the spellcheck in US English. I would like to change this to Canadian english - does anyone know what I should replace Selection.LanguageID = wdEnglishUS with? -- Gailc |
#3
![]()
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
![]()
Use wdEnglishCanadian.
For future reference: Display the Object Browser in the VBA editor (from the View menu or with F2), type wdEnglish into the search box, and press Enter. It will show you all the constants for various English dialects. -- Regards, Jay Freedman Microsoft Word MVP FAQ: http://word.mvps.org Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit. Gailc wrote: Hi, I have set up a macro to run spellcheck in a protected document but the macro runs the spellcheck in US English. I would like to change this to Canadian english - does anyone know what I should replace Selection.LanguageID = wdEnglishUS with? |
#4
![]()
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
![]()
Thank you both so much for such a quick response.
-- Gailc "Jay Freedman" wrote: Use wdEnglishCanadian. For future reference: Display the Object Browser in the VBA editor (from the View menu or with F2), type wdEnglish into the search box, and press Enter. It will show you all the constants for various English dialects. -- Regards, Jay Freedman Microsoft Word MVP FAQ: http://word.mvps.org Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit. Gailc wrote: Hi, I have set up a macro to run spellcheck in a protected document but the macro runs the spellcheck in US English. I would like to change this to Canadian english - does anyone know what I should replace Selection.LanguageID = wdEnglishUS with? |
Reply |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Deleting words from the custom dictionary in word 2003 | Microsoft Word Help | |||
I'd like an upgraded dictionary as I'm sick of seeing 'word not fo | Microsoft Word Help | |||
Install UK Dictionary. Set to Eng UK and it still uses US diction | Microsoft Word Help | |||
Word Custom Dictionary | New Users | |||
dictionary problem | New Users |