Reply
 
Thread Tools Display Modes
  #1   Report Post  
Lynette
 
Posts: n/a
Default How do I set up a Spell Check On Close Macro?

I want to set up a Macro that will spellcheck a document when closing,
similiar to Outlook does when sending a message.
  #2   Report Post  
Graham Mayor
 
Posts: n/a
Default How do I set up a Spell Check On Close Macro?

Why re-invent the wheel when all you have to do is set tools options
spelling & grammar - check spelling as you type for Word to do what the
option says? But if you insist


Sub AutoClose()
ActiveDocument.CheckSpelling
End Sub

will do the trick

--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org


Lynette wrote:
I want to set up a Macro that will spellcheck a document when closing,
similiar to Outlook does when sending a message.



  #3   Report Post  
Lynette
 
Posts: n/a
Default How do I set up a Spell Check On Close Macro?

Sorry, I probably wasn't clear enough. I want to do more than just spell
check as I type, and I do have those options set in Tools already. I need to
write this macro for someone who doesn't see the squiggly lines and who never
remembers to click spell check before they close a document. They are very
used to Outlook where, when they click Send, the document is automatically
spell checked before sending.

"Graham Mayor" wrote:

Why re-invent the wheel when all you have to do is set tools options
spelling & grammar - check spelling as you type for Word to do what the
option says? But if you insist


Sub AutoClose()
ActiveDocument.CheckSpelling
End Sub

will do the trick

--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org


Lynette wrote:
I want to set up a Macro that will spellcheck a document when closing,
similiar to Outlook does when sending a message.




Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Word X Spell check OS X Says complete, nothing corrected Aloha Kathleen Microsoft Word Help 3 January 6th 11 01:33 PM
Spell Check Macro Office 2003 Word Form fields marcia_mcmahon Microsoft Word Help 1 June 21st 05 11:10 PM
Distributing form with spell check macro jcinspwi Microsoft Word Help 2 March 16th 05 07:02 PM
Spell check macro Janice Microsoft Word Help 1 March 3rd 05 09:18 PM
Getting Spell Check Macro to work Tom Hyland Microsoft Word Help 8 January 14th 05 06:45 PM


All times are GMT +1. The time now is 01:39 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"