

If ActiveDocument.ProtectionType = wdNoProtection ThenĪctiveDocument.Protect Type:=wdAllowOnlyFormFields, NoReset:=True

If Options.CheckGrammarWithSpelling = True Then If ActiveDocument.ProtectionType wdNoProtection Then ' If document is protected, Unprotect it. You can use this macro as an On Exit macro for the last form field so you can check the spelling or update a field before you save the form.

Causeīecause form field text is formatted as No Proofing, the spelling and grammar checker ignores text in form fields. The spelling and grammar checker in Microsoft Word doesn't check text in the form fields. For more information about this change, read this blog post. Office 365 ProPlus is being renamed to Microsoft 365 Apps for enterprise.
