Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback. Using these properties with one of the events for content controls, such as the ContentControlOnExit event, gives you control over how content controls are used in documents and how users work with them. Set objCC = ActiveDocument.ContentControls _ The following example uses the LockContentControl property and the LockContents property to prohibit a user from deleting or editing the content control. Use the LockContentControl property to prohibit a user from deleting a content control, and use the LockContents property to prohibit a user from editing the contents of a content control. When I turn on the Editing Restrictions and select Filling in Forms, I cannot access the content control fields within the header. I have a report and placed the persons info in the header using RTF Content controls in Word 2013. For example, you might want to prohibit a user from editing a content control based on the value that a user inserts into another control. Content Control within Header unrestricted editing. You can set these restrictions programmatically. Another prohibits a user from editing the content control. One prohibits a user from deleting the content control. There are two ways that you can lock a content control. For example, you can limit the text that a user can insert into a content control, force a user to insert content into a content control, or lock a content control. Sometimes you might want to limit how a user works with a content control. To set properties on a control or change an existing control, on the Developer tab, in the Controls group, click Properties.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |