Cannot enter table caption text in Word protected document
Posted on 2016-08-31
Designed a protected document in Word with sections that everyone can edit. Other sections are locked/protected.
Working in the unprotected sections, the user can enter anything, including a table or figure. But, when the user tries to enter a caption, the Caption message box will not allow user to make content entry in the "Caption" field. The caption field does get populated with the correct section number and table number, i.e. "10-1", but the user cannot add anything further. An error message asserts saying "This is not a valid selection." If I unprotect the entire document, no troubles entering user content into the caption field via the message box.
Oh...another thing. if the user just accepts the caption label provided, e.g. Table 10-1, and selects OK on the message box, the caption is appropriately placed in the document - which if fine. At this point, further text can be added to the caption.
I'm guessing it has something to do with that the caption label contains hidden bookmarks.
I have other macros that I have written to temporarily unlock and then relock the document. Is there a way to do this for this problem?