Thread: [Solved] Content Controls
View Single Post
 
Old 11-06-2013, 01:00 PM
Charles Kenyon Charles Kenyon is offline Windows 7 64bit Office 2013
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,140
Charles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant future
Default

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
See Installing Macros for direction on how to use this.

I have not tested this extensively, but it seems to work.
Reply With Quote