![]() |
|
#1
|
|||
|
|||
|
Hi I have code that unlocks a locked content control in order for me to delete it via code. The only problem I have is that I am unable to make this work for content controls that are inside a textbox. Below is the code i'm using. Code:
Sub UnlockCControls() Dim oCC As ContentControl For Each oCC In ActiveDocument.ContentControls oCC.LockContentControl = False Next oCC End Sub |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
When content controls are deleted, my macro does not work as I would like.
|
harry.ayre | Word VBA | 2 | 02-23-2015 10:35 AM |
Cant type into content controls in a form after protecting document using macro
|
rgburridge | Word VBA | 4 | 01-27-2015 02:37 PM |
| Word 2010 Macro Enabled Template with Content Controls | keen1598 | Word VBA | 7 | 01-29-2014 03:17 PM |
Content Controls
|
Sammie0Sue | Word | 6 | 11-06-2013 10:56 PM |
| Macro to link 2 content controls | bortonj88 | Word VBA | 2 | 08-21-2012 06:24 AM |