View Single Post
 
Old 07-04-2019, 07:51 PM
gmayor's Avatar
gmayor gmayor is offline Windows 10 Office 2016
Expert
 
Join Date: Aug 2014
Posts: 4,103
gmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud of
Default

Does your document have content controls or legacy form fields? Your CommandButton2 and CommandButton3 code suggest Form Fields as you are applying protection for forms.

Content controls that check spelling should not be protected for forms.

The code to add editors works only with content controls. It should be run once to mark the content controls as areas that may be edited and then protects the rest as read only. The document does not then need macros.

If the content controls are formatted to allow spell checking (before protecting and adding the editors) then the controls don't need a macro to spell check them.

If spell checking is not working in your document check your Word proofing options and the proofing settings of the paragraph styles.
__________________
Graham Mayor - MS MVP (Word) (2002-2019)
Visit my web site for more programming tips and ready made processes www.gmayor.com
Reply With Quote