Re: Is it possible to do this using VBA in MS Word by Joost
Joost
Wed Jul 07 13:57:51 CDT 2004
>-----Original Message-----
>Hi
>
> >You don't need VBA for this, the spellchecker can be
configured to to
>it already.
>
>Yes, I want to develop a custom spellchecker (via a
custom algorithm),
>what I concern is that can I highlight those words using
VBA or other
>method?
>
> > You can add extra words to a custom dictionary, but I
don't think
>way of specifically controlling what words are displayed.
>
>Yes, as I am making a custome spell checker, I want to
control the word
>list, you mean the pop-up menu is not programmable?
>
>Thanks for reply.
>
>Regards,
>Johnny
>
>Jonathan West wrote:
>
>> "Johnny" <johnny@nospam.com> wrote in message
>> news:e4FhPfCZEHA.3664@TK2MSFTNGP12.phx.gbl...
>>
>>>Hi,
>>>
>>>I am a newbie to MS Word Programming, I would like to
know if VBA is
>>>possible to do the following jobs for me:
>>>
>>>1. When type a typo in word, the word will be
underlined, is it possible
>>>to do this using VBA?
>>
>>
>> You don't need VBA for this, the spellchecker can be
configured to to it
>> already.
>>
>>
>>>2. When you right click the underlined word, a list of
suggestions will
>>>be shown, is it possible to program it using VBA?
>>
>>
>> You can add extra words to a custom dictionary, but I
don't think there is a
>> way of specifically controlling what words are
displayed.
>>
>>
>>>Since I am just a newbie, I don't know if VBA can do
this or not, if
>>>this cannot be done using just VBA, pls point me to
the right direction...
>>>
>>>Thanks and hope for reply.
>>>
>>
>>
>.
>
Hi,
What's possible in Word Spelling:
Create Custom.Dic witch holds additional word's you'd
like to include in you're Spelling.
Create a *.Excl witch holds additional word's you'd like
to Exclude in you're spelling
What's not possible in Word Spelling:
Change the Spelling dictionary!
This is a DLL witch you may not Reverse Engineer.
I've been working on this for a while to but it's not
possible to change the Spelling Dictionary.
I think the best thing you can do is Work with a
Custom.Dic for you're Challenge. How ever its not
possible to get only those words in the dropdown that you
have in you're Custom.dic.
Good Luck,
Joost Verdaasdonk