Help!

Add a custom dictionary and Refresh the ActiveDocument


Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Spelling / Grammar RSS
Next:  Can a dictionary be utilised in Word 2002?  
Author Message
n777krish
External


Since: Jun 26, 2007
Posts: 1



PostPosted: Tue Jun 26, 2007 9:25 pm    Post subject: Add a custom dictionary and Refresh the ActiveDocument
Archived from groups: microsoft>public>word>spelling>grammar (more info?)

Hello all,

We are trying to add a custom dictionary in Word and need the
ActiveDocument to be updated with the newly added dictionary. Here's
what I mean:

Using this code:
With CustomDictionaries
.ClearAll
.Add( _
"C:\Documents and Settings\goundarn\Application Data
\Microsoft\Proof\CUSTOM.DIC" _
).LanguageSpecific = False
.Add("C:\Documents and Settings\goundarn\Desktop\test.dic"). _
LanguageSpecific = False
.ActiveCustomDictionary = CustomDictionaries.Item( _
"C:\Documents and Settings\goundarn\Application Data
\Microsoft\Proof\CUSTOM.DIC" _
)
End With

we are adding the dictionary to Word. Once we have added the
dictionary we need all the words in this dictionary to be
automatically updated if they have been marked for SpellChecking
before. Basically, we want the red underline of a word go away as soon
as we add the dictionary to Word. The dictinary gets added
successfully but a word previously indicated as with spelling error
still shows this.

How can we apply the dictionary to refresh the document?

Thanks,
Neil.
Back to top
Display posts from previous:   
Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Spelling / Grammar All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum