View Single Post
 
Old 10-05-2021, 09:47 PM
Guessed's Avatar
Guessed Guessed is offline Windows 10 Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 4,176
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

I would start with a macro like this which will run automatically when the user saves the file.
Code:
Sub FileSave()
  Dim aCC As ContentControl
  For Each aCC In ActiveDocument.ContentControls
    aCC.LockContents = Not aCC.ShowingPlaceholderText
  Next aCC
  ActiveDocument.Save
End Sub
I think it will need to be more complex though to handle check boxes. How is the macro supposed to know that a check box has been completed?

This protection method is only as strong as the user's knowledge. If they know how to unlock a CC then they can do so easily.
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote