View Single Post
 
Old 07-02-2019, 04:38 PM
dpaton05 dpaton05 is offline Windows 10 Office 2016
Novice
 
Join Date: Jul 2019
Posts: 19
dpaton05 is on a distinguished road
Default

Thanks for your reply. I already have a document with content controls on it and I wasn't sure of your instructions for using content controls. I am using a computer at work so I don't have permissions to install additional software.


I have the following code in a command button on the document.
Code:
ActiveDocument.Unprotect
ActiveDocument.CheckSpelling
ActiveDocument.Unprotect
The issue is that you can press the button and the spell check starts and starts checking spelling of the content controls and if I press cancel on the spell checker, I get the error "The unprotect method or property is not available because the document is already unprotected".



If I review all the errors entered in the content controls or press ignore all, I get the same error.
Reply With Quote