Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 09-09-2015, 01:18 PM
Eduardo Care Eduardo Care is offline Grammar check into legacy forms > Text form field. Windows 8 Grammar check into legacy forms > Text form field. Office 2010 64bit
Advanced Beginner
Grammar check into legacy forms > Text form field.
 
Join Date: Aug 2015
Location: Cali
Posts: 32
Eduardo Care is on a distinguished road
Default Grammar check into legacy forms > Text form field.

Hello people .



Is it there any way to let word check grammar mistakes into a text form field into a protected document "fill in forms"??

If it is possible can someone tell me how, please.


Thanks in advance.
Reply With Quote
  #2  
Old 09-09-2015, 02:55 PM
macropod's Avatar
macropod macropod is offline Grammar check into legacy forms > Text form field. Windows 7 64bit Grammar check into legacy forms > Text form field. Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,962
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Spell-check and grammar-check are both disabled when forms protection is applied. If you really need those functions, a macro could be used to unprotect the document, check the spelling/grammar, then re-protect it afterwards. That approach is fairly inflexible, though and relies on the user both recognising the need to check their spelling/grammar and choosing to do so.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #3  
Old 09-09-2015, 03:11 PM
Eduardo Care Eduardo Care is offline Grammar check into legacy forms > Text form field. Windows 8 Grammar check into legacy forms > Text form field. Office 2010 64bit
Advanced Beginner
Grammar check into legacy forms > Text form field.
 
Join Date: Aug 2015
Location: Cali
Posts: 32
Eduardo Care is on a distinguished road
Default

Thanks for your time and the answer Paul, as you propose, i have to use a macro for it.

While searching around some sites i found the following:

Code:
Sub myTotalCheckSpelling() 
    Dim iCnt As Integer 
     
    With Application.ActiveDocument 
         'Unprotect if protected
        If .ProtectionType <> wdNoProtection Then _ 
        .Unprotect Password:="" 
         
         'Loop all formfields
        For iCnt = 1 To .FormFields.Count 
             'Select formfield
            .FormFields(iCnt).Select 
             
            #If VBA6 Then 
                 'Only Word > 2000
                Selection.NoProofing = False 
            #End If 
             'Set Language
            Selection.LanguageID = wdEnglishUK 
             'Run spell checker
            Selection.Range.CheckSpelling 
        Next 
         
         'Reprotect without resetting the fields
        .Protect Type:=wdAllowOnlyFormFields, Noreset:=True, Password:="" 
         
        MsgBox "Demo all fields spell check completed", vbInformation 
    End With 
End Sub
Which suites my needs perfectly.

Also for other people having the same problem, they might find this information interesting:

http://word.mvps.org/faqs/macrosvba/...ProtectDoc.htm


Have a good day everyone.
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Grammar check into legacy forms &gt; Text form field. Check box form field automatically checked Eduardo Care Word 8 09-07-2015 03:31 PM
Grammar check into legacy forms &gt; Text form field. legacy Form Field sunrise06 Word 9 05-02-2015 06:48 PM
Check Box Form Field Book Mark Auto Fill? zacam87 Word VBA 5 08-20-2014 02:56 PM
Using legacy forms with text boxes? Any way around this? svengoolie Word 1 02-01-2012 11:53 AM
Grammar check into legacy forms &gt; Text form field. How do I Convert All Legacy Check Boxes to ActiveX? GreenPolyps Word 1 12-20-2011 05:11 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 06:19 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft