![]() |
#5
|
|||
|
|||
![]()
The following might work:
Code:
Sub ChangeCCToNoDelete() ' Macro to set all Content Controls to locked (no delete) ' Written by Charles Kenyon 2013-11-06 Dim oCC As ContentControl For Each oCC In ActiveDocument.ContentControls oCC.LockContentControl = True Next oCC End Sub I have not tested this extensively, but it seems to work. |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Using both rich and plain content controls in one document | Erica.Black | Word | 0 | 06-18-2013 10:33 AM |
![]() |
tinfanide | Word VBA | 8 | 03-04-2013 04:15 AM |
Macro to link 2 content controls | bortonj88 | Word VBA | 2 | 08-21-2012 06:24 AM |
Content Controls Form Programming | beachdog | Word VBA | 4 | 09-20-2011 10:26 AM |
![]() |
cksm4 | Word VBA | 2 | 03-01-2011 12:46 PM |