![]() ![]() You can change that to a more traditional check mark if you like. You might have noticed that the check box displays an X to denote a Yes/On/True state. ![]() You can also print the list and check the controls manually. Simply check or uncheck, appropriately! For instance, in Figure B, Tom didn’t attend the November 18th meeting. Wasn’t that easy? The form is immediately ready to use. Insert two more controls, one for Tom and one for June.Strictly speaking, the tab isn’t necessary, but adding a little space will improve readability. We don’t want to change any of the default properties for now, so press the Right Arrow key twice to exit the control. Doing so will insert a check box in edit mode. In the Controls group, click the Check Box Content Control icon.Position the cursor in the document where you want to insert the first check box.You can create this form quickly enough as follows: Figure A shows three simple check boxes followed by participants Mary, Tom, and June. Using check box content controls couldn’t be easier now. SEE: Windows 11: Tips on installation, security and more (free PDF) (TechRepublic) Denoting attendance Word Online will display existing check box controls and their state, but you can’t change the state. For your convenience, you can download the demonstration. I’m using Microsoft 365 on a Windows 10 64-bit system, but you can use earlier versions through 2010. Instead of reading through a list of names, with the word present or not present, you can quickly glean who is present and who isn’t by viewing the check box controls. In this article, we’ll work through a simple example using check box controls in Word to denote attendance. Technically, an electronic check box control is a visual representation of a binary state, such as on and off, true or false, and so on. We’ve been using them all our lives, even before electronic forms came into existence. See: Install/Employ VBA Procedures (Macros)įor instructions to employ the VBA code provided above.Check boxes offer a simple visual way to denote state: on or off, true or false, and so on, and they're easier to use than ever before! ORng.Start = Selection.Tables(1).Range.End If MsgBox("Do you want to loop to the first control?", vbQuestion + vbYesNo, "Router") = vbYes Thenįor Each oCell In Selection.Tables(1).Range.Cells (1).Range.Selectĭo Until Selection.Cells(1). > 0 The focus does not advance to the next control. ![]() Using the tab key in one of these controls enters a physical tab in the control as expected. The following example shows three rich text content controls grouped (nested) in a restricted content rich text control container. Rich text controlsįirst let's look at problems associated with rich text controls. Unfortunately navigating between content controls in documents containing rich text or picture content controls is more problematic. Note: If there are one or more content controls in the document after your assigned "Last" content control then the focus will be set automatically to the content control tagged "First" when you tab out of the "Last" control. ![]() Then when you finish in the last content control simply click anywhere in the document and the to exit the content control and the focus will be returned to the content control tagged "First." '"First" = tag property applied to the first control.ĪctiveDocument.SelectContentControlsByTag("First").Item(1).Range.Select '"Last" = tag property applied to the last control. Private Sub Document_ContentControlOnExit(ByVal ContentControl As ContentControl, Cancel As Boolean) ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |