Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

spell check macro for ms word

Posted on 2008-06-10
1
Medium Priority
?
1,399 Views
Last Modified: 2008-06-15
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)
    Else
        myDoc.SpellingErrors(1).NoProofing = True
    End If
    
    Loop
'********* END THE SPELLING CHECK LOOP ***********************

Open in new window

0
Comment
Question by:ragur
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 

Accepted Solution

by:
ragur earned 0 total points
ID: 21789063
Hi...
document.TSTDemo.main();
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
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

721 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question