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.
0 Comments
Leave a Reply. |