• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1403
  • Last Modified:

spell check macro for ms word

In the code you have suggested below for spell check macro ...
I need to do some modifications according to following requirements
1) I have my own dictionary file(a file that contains correct spellings -each word in a line in sorted order)
     - TELL me whether the ' GetSpellingSuggestions'  method checking the existing dictionary to give correct spelling?  what can be alternative solution for comparing words with MY OWN DICTIONARY(WHICH IS YET ANOTHER TXT/DOC FILE)
2)  I need to implement spell check macro for a different language 'Kannada" , an indian language(the fonts are either Truetype fonts or in UTF-8 format.)
 - Also please tell me How do i change the LanguageID to recognize Kannada font???
3) Let the program give some suggestions as we get in MS WORD 'spelling and Grammar checking' tool, so that  I can select the word of my choice to replace the word in text file
4)totally i need  a macro that checks spellings for all the words in a word file and replaces mis-spelt words in the same file ... but for "kannada script"


'********* START THE SPELLING CHECK LOOP ********************
    Do While myDoc.SpellingErrors.Count >= 1
    Set SpellSuggs = GetSpellingSuggestions(myDoc.SpellingErrors(1).Text)
    If SpellSuggs.Count >= 1 Then
        myDoc.SpellingErrors(1).Text = SpellSuggs(1)
        myDoc.SpellingErrors(1).NoProofing = True
    End If
'********* END THE SPELLING CHECK LOOP ***********************

Open in new window

1 Solution
ragurAuthor Commented:
the code works...
May be the reason that didnt work at that moment was... there were many other applications running...
so this may be considered as perfect solution for invoking an applet program through java script
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now