View Single Post
 
Old 08-12-2022, 01:23 AM
macropod's Avatar
macropod macropod is offline Windows 10 Office 2016
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
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

As per post #2, the content controls can be deleted via code. It shouldn't matter whether python-docx can detect any text in content controls, since (as per the VBA examples I posted) the content controls are explicitly being deleted.

PS: Please stop quoting entire previous posts in your replies. Doing so only adds clutter. If there is something in a previous post that needs quoting, quote only that part.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote