#1
|
|||
|
|||
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. |
#2
|
||||
|
||||
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] |
#3
|
|||
|
|||
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 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. |
Thread Tools | |
Display Modes | |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Check box form field automatically checked | Eduardo Care | Word | 8 | 09-07-2015 03:31 PM |
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 |
How do I Convert All Legacy Check Boxes to ActiveX? | GreenPolyps | Word | 1 | 12-20-2011 05:11 PM |