Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #3  
Old 09-15-2016, 05:42 PM
macropod's Avatar
macropod macropod is offline Save as .docx without content controls (just the text that was written in them) Windows 7 64bit Save as .docx without content controls (just the text that was written in them) Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,513
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Unless you do it manually, one content control at a time, you'll need a macro to delete the content controls. For example:
Code:
Sub Demo()
Application.ScreenUpdating = False
Dim i As Long
With ActiveDocument
  For i = .ContentControls.Count To 1 Step -1
    With .ContentControls(i)
      .LockContentControl = False
      .Delete False
    End With
  Next
End With
Application.ScreenUpdating = True
End Sub
or:
Code:
Sub Demo()
Application.ScreenUpdating = False
With ActiveDocument
  Do While .ContentControls.Count > 0
    With .ContentControls(1)
      .LockContentControl = False
      .Delete False
    End With
  Loop
End With
Application.ScreenUpdating = True
End Sub
Do note that macros can't be stored in docx files, so you'd need to add it to the relevant document's template.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
 

Tags
content control, save as

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Save as .docx without content controls (just the text that was written in them) Rich text/Plain text Content Controls in Template michael.fisher5 Word 9 11-19-2014 06:36 AM
Save as .docx without content controls (just the text that was written in them) Turning a manual written Table of content into automatic one. amronaxon Word 3 09-20-2014 11:29 AM
Save as .docx without content controls (just the text that was written in them) Moving between Rich text content controls Sammie0Sue Word 4 03-12-2014 01:43 AM
Save as .docx without content controls (just the text that was written in them) Rich Text Content Controls: Formatting? tinfanide Word VBA 8 03-04-2013 04:15 AM
Animation: text appears as if written by pen ionas.iona PowerPoint 0 03-31-2011 05:23 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 07:05 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft