Add Spell Check rules upon save or exit? 
Author Message
 Add Spell Check rules upon save or exit?

Is there a way I can force Word to spell check my document each time I
either save or close a document.

I specifically need to check for occurrences of the words 'you' and 'your'
as they are not always used in the correct way.  Each time one of these
words are used I want a context message asking for approval just as in the
spell check dialog box.

Grammar check is not an option here.

Thank you.

Sat, 10 Jan 2004 01:59:15 GMT  
 Add Spell Check rules upon save or exit?
In the Word DocumentBeforeSave and the DocumentBeforeClose methods you can
use the Find to look for each word, then code a messagebox or other form to
prompt the User.

Query the VBA object browser on the string BeforeClose.

Sat, 10 Jan 2004 06:24:14 GMT  
 [ 2 post ] 

 Relevant Pages 

1. Ignore Spell Check Rule O2K

2. On-Exit macro for Checkbox Form field - getting it to fire upon Print or Save

3. Spell Check Add-On........

4. Enable/disable spell checking/Grammer checking

5. Run macro upon exit from table cell

6. VB crashes upon exit

7. detecting changes in text files upon exit

8. DAO accessing MDB, GPF upon exiting program

9. how to unload all forms upon exit

10. ActiveX Document crashes upon exiting IE

11. VB6 crash upon exit !!

12. Intercepting Save upon close event


Powered by phpBB® Forum Software