I need to remove all content controllers (Loked and unlocked) in active document without removing any text. I've search and found a macro for this. But I think it's not work properly.
Word VBA to delete Content Controls with specific Tags
Is it possible to do this?
Edited: I've tried below code. It'll remove content controllers with text content. I need to remove only content controllers.
Sub Test()
Dim objCC As ContentControl
Do While ActiveDocument.ContentControls.Count > 0
For Each objCC In ActiveDocument.ContentControls
objCC.Delete True
Next
Loop
End Sub