Re: spellchecker failsafe?

Tech-Archive recommends: Fix windows errors by optimizing your registry



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 FAQ: http://word.mvps.org
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
o@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:

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.
.



Relevant Pages

  • Re: Undo VBA
    ... There used to be a list of some of those commands in a MSFT KB article. ... It's possible that instead of creating macros named EditUndo ... > Sub StartUndoSaver() ... > On Error GoTo 0 ...
    (microsoft.public.word.vba.general)
  • Re: Newbie- Can a VBA procedure be converted to a macro?
    ... > To put this function onto a toolbar, switch back to the Excel workbook. ... > (you can add your own commands to existing toolbars also). ... select Macros from the Categories list. ... >> Exit Sub ...
    (microsoft.public.vb.general.discussion)
  • Re: How to capture Max cell value (High Water Mark)
    ... Where A1 is the cell that is changing and the HiWater function can be in any ... I don't have any other macros in the workbook. ... Sub Test_Enable_Events ... I'm only using it on the same worksheet where the macro was created. ...
    (microsoft.public.excel)
  • Re: How to capture Max cell value (High Water Mark)
    ... directly addressing the changing cell. ... I don't have any other macros in the workbook. ... Sub Test_Enable_Events ... "Note that it only works with the worksheet under which it was ...
    (microsoft.public.excel)
  • Re: One more question on worksheet protection
    ... You can't see the macros because they're called with arguments. ... protect/unprotect all VBA projects (including 'Personal.xls' if it exists - so ... Sub ProtectOpenVBAProjects() ... | Dim vbProj As Object ...
    (microsoft.public.excel.programming)