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. Just single-clicking a content control in Toolbox and then pressing Enter. Volunteering to 'pay forward' the help I've received in the Microsoft user community. Uncheck the one that says it can't be deleted. Otherwise, you can use the Properties button on the Developer Tab to reach them. You can right-click on the control to change the properties. Double-clicking a content control from Toolbox. That is a 'Content Control.' Use the Properties to fix this. Go to Toolbox, and open the Word Controls tab, 4. 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. Place the cursor where you want to add the content control. 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.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |