![]() |
#1
|
|||
|
|||
![]()
On my form I was using the build in form protection which seemed fine. However it does weird things with checkboxes.
On searching it looks like you should not use this for Content Controls and instead create a group and lock it this way. This is fine but then my conditional VBA shading will not work because the content is locked for editing. I have tried: CC.LockContentControl = False CC.LockContents = False However these do not work. So what am I meant to do to allow my VBA to do some editing to Content Controls without risking the user editing the form and without checkboxes going strange? Thanks a lot |
#2
|
||||
|
||||
![]()
Locking a content control prevents it from being deleted. It doesn't lock the form. What you need is to add editors to the content controls and then lock the form as readonly. Then users will only be able to access the content controls.
An easy way to do this is to use the edit all controls option of Insert Content Control Add-In
__________________
Graham Mayor - MS MVP (Word) (2002-2019) Visit my web site for more programming tips and ready made processes www.gmayor.com |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
Ulodesk | Word | 2 | 10-29-2018 05:51 AM |
Shape protection | dekiblue | Visio | 3 | 05-02-2017 06:14 PM |
![]() |
gbaker | Excel | 2 | 02-28-2013 06:56 AM |
![]() |
JimP | Visio | 2 | 03-24-2011 04:23 AM |
Document protection | Daved2424 | Word | 0 | 11-17-2010 01:22 AM |