![microsoft word insert checkbox into table microsoft word insert checkbox into table](https://support.content.office.net/en-us/media/d1c12589-0592-4879-93a5-de6788370a05.png)
In the Controls section, select the check box icon. Activate the Developer tab, now added to the main menu toward the top of your screen.
![microsoft word insert checkbox into table microsoft word insert checkbox into table](https://cdn.extendoffice.com/images/stories/doc-word/insert-checkbox-formfield/doc-insert-checkbox-form-field-4.png)
![microsoft word insert checkbox into table microsoft word insert checkbox into table](http://www.addbalance.com/usersguide/images/2010TableRowPropertiesHeader.png)
Set collCCs = ActiveDocument. Select Check Box Content Control and select OK to return to the main Word interface.
#MICROSOFT WORD INSERT CHECKBOX INTO TABLE HOW TO#
If Not IsEmpty(ActiveDocument.SelectContentControlsByTag("NO" + Str(ii))) Then How to Add Checkbox in PDF Documents Step 1: The first thing to do is to ensure that you enable the Developer tab on the ribbon (With an open word document. If you haven’t added captions yet, you can learn how to add captions in Microsoft Word fro the following post. Each row will contain pay information for every employee. Insert a table from Insert Tab and choose Table from tables group in this example we insert a table with 12 columns. The lists of tables and figures or lists of any other objects are generated from the captions you added for those objects in your report. First of all open new sheet in Microsoft Excel 2013 by choosing New in File tab. Private Sub Document_ContentControlOnExit(ByVal oCC As ContentControl, Cancel As Boolean) Steps to insert list of tables and figures in Word Step 01: Add captions to tables and figures. The initial table has a different tag (I did not include it here). It is not an elegant solution, but it works for now. In order to allow the User to create additional table, I created a Public counter that is increased at each added table. Apart from this, many thanks to and Timothy for their kind support. if I click "Yes", I need to select another cell before clicking "No", otherwise the control is not able to work correctly). Could someone please tell me what I am doing wrong and how I could make it work? Thank you very much.
#MICROSOFT WORD INSERT CHECKBOX INTO TABLE CODE#
It checks for the checkbox value and then tries to 'tick it' (on un-tick it) using the following code (not yet completed): Sub Check_YES_Not(tblNew)Ĭheck1 = mytable.Cell(8, 2).Range.ContentControls(1).CheckedĬheck2 = mytable.Cell(8, 3).Range.ContentControls(1).CheckedĬheck1 = True 'This is how I am trying to modify the checkbox, but it is not workingĬode runs and creates the table correctly, but the checkbox scripts is not behaving as I wish. To do so, I created a Sub within the main button script. My idea is to have mutually exclusive checkboxes: that means, if User selects "YES" the "NO" is automatically deselected (and vice-versa). Row number 8 (shown above) contains a YES/NO question to manage that, I inserted two Checkboxes (one in Column2, the other in Column3) using the following syntax: For ii = 2 To 3