Is it possible to do this using VBA in MS Word

J

Johnny

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?

2. When you right click the underlined word, a list of suggestions will
be shown, is it possible to program it using VBA?

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.

Regards,
Johnny
 
J

Jonathan West

Johnny said:
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.
 
J

Johnny

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
 
J

Joost Verdaasdonk

-----Original Message-----
Hi
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?
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


.

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top