#1   Report Post  
Posted to microsoft.public.word.docmanagement
Gailc Gailc is offline
external usenet poster
 
Posts: 2
Default dictionary

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   Report Post  
Posted to microsoft.public.word.docmanagement
Doug Robbins - Word MVP Doug Robbins - Word MVP is offline
external usenet poster
 
Posts: 8,832
Default dictionary

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   Report Post  
Posted to microsoft.public.word.docmanagement
Jay Freedman Jay Freedman is offline
external usenet poster
 
Posts: 9,854
Default dictionary

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   Report Post  
Posted to microsoft.public.word.docmanagement
Gailc Gailc is offline
external usenet poster
 
Posts: 2
Default dictionary

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

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Deleting words from the custom dictionary in word 2003 [email protected] Microsoft Word Help 1 June 9th 06 02:06 PM
I'd like an upgraded dictionary as I'm sick of seeing 'word not fo Chelseaman Microsoft Word Help 0 February 15th 06 10:59 AM
Install UK Dictionary. Set to Eng UK and it still uses US diction Pudu Microsoft Word Help 3 October 9th 05 04:50 PM
Word Custom Dictionary [email protected] New Users 3 September 8th 05 05:13 PM
dictionary problem klim New Users 0 November 28th 04 12:16 AM


All times are GMT +1. The time now is 05:05 PM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"