Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
marcia_mcmahon
 
Posts: n/a
Default Spell Check Macro Office 2003 Word Form fields

I had a macro for spell checking forms for Office 97 Word form fields. The
macro is not working for Office 2003 based Word form fields. Here is my old
macro...

Sub FormsSpellCheck()

' If document is protected, Unprotect it.
If ActiveDocument.ProtectionType wdNoProtection Then
ActiveDocument.Unprotect Password:=""
End If

' Set the language for the document.
Selection.WholeStory
Selection.LanguageID = wdEnglishUS

' Perform Spelling/Grammar check.
If Options.CheckGrammarWithSpelling = True Then
'ActiveDocument.CheckGrammar
ActiveDocument.CheckSpelling
Else
ActiveDocument.CheckSpelling
End If

' ReProtect the document.
If ActiveDocument.ProtectionType = wdNoProtection Then
ActiveDocument.Protect Type:=wdAllowOnlyFormFields, NoReset:=True
End If

End Sub
 
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
Where does word 2003 store list of words 'ignored' during spell ch Sameeksha Microsoft Word Help 2 May 11th 05 06:51 AM
How do I get all my Word documents within one Word window RobJacobs Microsoft Word Help 5 April 12th 05 03:04 AM
Macros - Keyboard Commands Janet Microsoft Word Help 6 April 11th 05 05:28 AM
How do you spell check text entered into a Word form field? John Reece Microsoft Word Help 1 March 1st 05 11:10 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 03:56 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"