![]() Your documents may have one or more mutually exclusive content control option button groups. Note: The optional "Other/Please Specify" shown in the video is a feature of Method 1 and the Add-In only. Additional code is provided to facilitate an optional "Other/Please Specify" content control checkbox and corresponding plain text content control as shown in the video.When a check box of interest is checked, either by a mouse entry or monitored state change, the custom Document_ContentControlOnChange procedure is used to ensure all other content control check boxes with a similar tag group ID prefix are then unchecked.A separate monitor procedure is initiated to continuously monitor the content control of interest for any additional state change while the user is "in" the check box.This state change is immediately and automatically passed to the custom Document_ContentControlOnChange event procedure. Entering a check box content control using a mouse click triggers an automatic state change. A function is used to determine if the content control was entered by using a mouse click.Only check box content controls tagged using the prefix "optGrp" are are considered "of interest" and processed further.The built-in Document_ContentControlOnEnter event is used to detect when a content control is entered and determine if it is a content control of interest.While the code may appear daunting to novices, it is really quite simple and works basically like this: VBA code in the custom event procedure ensures that only one option button in a defined group can be in the checked state at any given time.Īll of the required VBA code is available in the "ThisDocument" module of the VB Project of the template which you can download using the link at the end of this tips page. Method 1 employs an adaptation of my Content Control Custom Events technique, a careful convention for defining the content control "tag" property, and a little VBA wizardry. If you find that the box is too small, you can resize it by selecting it and changing the font size.Method 1 - Custom Document_ConentControlOnChange Event When you print the document, the symbol will appear as a check box. Select the box symbol and click Insert and the box will be inserted into your document. Towards the bottom of the symbol gallery (on my screen, anyway!) you should find a box symbol. ![]() Click Insert > Symbols > Symbol > More Symbols. The easiest way of doing this is by inserting a symbol. The quick and easy way to create a checkbox that you can check with a pen on paper is to simply insert an image of a box. Insert A Check Box That Will Be Checked After Being Printed This is easily done by clicking the Stop Protection button at the bottom of the Restrict Formatting and Editing panel. To make further amendments to it, you will have to remove the document protection. You can’t reposition it in the document or delete it. While the document is protected like this, you won’t be able to amend the check box other than to check or uncheck it. Now, in addition to the document being partially protected, the check box you inserted is checkable. You can either specify a password or leave it blank in the next dialogue box that appears. Once all your selections have been made, click Yes, Start Enforcing Protection. In this window we need to check the boxes for Formatting restrictions and Editing restrictions and also select Filling in forms in the dropdown list. The Restrict Editing and Formatting window appears over on the right. Stay on the Developer tab and click Restrict Editing in the Protect group. The check box is inserted into your document, however, you’ll find that you can’t yet check it. On the panel that appears, click on Check Box Form Field. That’s just the one we need, so click it. You should find that the only command button available is the one for Legacy Tools. Once you have the Developer tab displayed in the ribbon, click on it and look in the controls group. See how to display the Developer tab in Word 2010. To include a check box that can be checked electronically within your Word document, you must first ensure that the Developer tab is displayed. Insert A Check Box That Can Be Checked Electronically
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |