spellchecker failsafe?

G

Guest

I am using spellchecker in Word 2003. I would like to make it automatic so
that no document is printed or used as an attachment without first using
spellchecker. (OK so I am a little forgetful). This option is available
under e-mail but I cannot find a similar command to apply spellchecker each
and every time upon finishing the document.
 
J

Jay Freedman

You can use macros with special names to intercept Word's built-in
commands (see
http://www.word.mvps.org/FAQs/MacrosVBA/InterceptSavePrint.htm). Use
the information at http://www.gmayor.com/installing_macro.htm to put
these macros into your Normal.dot template or a global template:

Sub FilePrint()
On Error Resume Next
ActiveDocument.CheckSpelling
Dialogs(wdDialogFilePrint).Show
End Sub

Sub FilePrintDefault()
On Error Resume Next
ActiveDocument.CheckSpelling
ActiveDocument.PrintOut Background:=False
End Sub

Sub FileSave()
On Error Resume Next
ActiveDocument.CheckSpelling
ActiveDocument.Save
End Sub

Sub FileSaveAs()
On Error Resume Next
ActiveDocument.CheckSpelling
Dialogs(wdDialogFileSaveAs).Show
End Sub

You can't get a macro to run when you attach a document to an email
(at least, not in Word; maybe in Outlook), but running a check before
saving any document should be good enough.

--
Regards,
Jay Freedman
Microsoft Word MVP
Email cannot be acknowledged; please post all follow-ups to the
newsgroup so all may benefit.

On Tue, 5 Dec 2006 16:11:01 -0800, Pete o <Pete
 

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