![]() ![]() Repeat this several times to see the hidden property of each CC toggle back and forth.ĭo you need to keep the content controls if the end-user isn't going to see them or modify the text in them? If so you can save the document as the base, open the same and rename it to "NoControls.docx" and iterate through the CCs, deleting each one.Īfter finishing the "NoControls.docx" either don't save or save, but you have the base document for future use - with visible contentcontrols. Just single-clicking a content control in Toolbox and then pressing Enter. Stack Overflow is for questions about programming, not how to use software. In the future, please post this kind of question on or Super User. Right-click on it and choose Remove Content Control. I do have the content controls tagged since that seems like the only. Assuming youre referring to the box with a small grey tab on the upper left side, thats a Content Control. Double-clicking a content control from Toolbox. Because MS Word is finicky I need to use content control within these tables to not have the end user accidentally destroy half of it, but after a full workday I still cannot figure out how find and shut off the content control of the cells in tables that I want to delete. Go to Toolbox, and open the Word Controls tab, 4. This prevents the user from applying any formatting to the text that was input by the populate word template action. It would appear the action is filling the content control with text but not removing the content control. Here is a different version of your code, for a document with two content controls, that returns the current hidden property of the 'Selection.Font", but doesn't duplicate your experience through setting the font of the grip to hidden.įor Each cc In ActiveDocument.ContentControls Place the cursor where you want to add the content control. Under content control properties, the 'Remove content control when contents are edited' option is selected.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |