How to add, copy and delete multiple checkboxes in Excel
Sep
28
How to add, copy and delete multiple checkboxes in Excel
by Svetlana Cheusheva | updated on July 4, 2021
The tutorial will teach you how to quickly add multiple checkboxes in Excel, change the check box name and formatting, as well as delete one, several or all checkboxes on a sheet.
In last week's tutorial, we stared to discuss Excel Check Box and showed a few examples of using checkboxes in Excel to create a beautiful checklist, conditionally formatted To-Do list, interactive report and a dynamic chart responding to the checkbox state.
Today, we will be focusing mostly on technicalities and how-to things. Of course, this information is not as exciting to learn as practical examples, but it will help you create and manage your Excel checkboxes in the most efficient manner.
- Check Box Form control vs. Check Box ActiveX control
- How to add checkbox in Excel
- How to quickly insert multiple checkboxes (copy checkbox)
- Change the checkbox name and caption name
- Select one or multiple checkboxes
- Delete one, some or all checkboxes on the sheet
- Change checkbox formatting and fix the position in the sheet
Check Box Form control vs. Check Box ActiveX control
Microsoft Excel provides two types of controls - Check Box Form control and Check Box ActiveX control:
Form controls are much simpler than ActiveX, and you will want to use them in most cases. If you decide to go with Check Box ActiveX controls, here's a list of the most essential differences for you to consider:
- ActiveX controls provide more formatting options, you may want to use them when you look for a sophisticated and flexible design.
- Whereas Form controls are built into Excel, ActiveX controls are loaded separately and therefore they may occasionally freeze or "misbehave".
- Many computers don't trust ActiveX by default, as the result your Check Box ActiveX controls may be disabled until you have enabled them manually via the Trust Center.
- Unlike Form controls, Check Box ActiveX controls can be accessed programmatically via the VBA editor.
- ActiveX is solely the Windows option, Mac OS doesn't support it.
How to add a checkbox in Excel
To insert a checkbox in Excel, do the following:
- On the Developer tab, in the Controls group, click Insert, and select Check Box under Form Controls or ActiveX Controls.
- Click in the cell where you want to insert the checkbox, and it will immediately appear near that cell.
- To properly position the check box, hover your mouse over it and as soon as the cursor changes to a four-pointed arrow, drag the checkbox to the desired position.
- Optionally, delete or change the caption text.
Note. If you don't have the Developer tab on your Excel ribbon, right click anywhere on the ribbon, then click Customize the Ribbon… The Excel Options dialog window will appear, and you check the Developer box in the right hand column.
How to insert multiple checkboxes in Excel (copy checkboxes)
To quickly insert multiple check boxes in Excel, add one checkbox as described above, and then copy it using one of the following techniques:
- The fastest way to copy a checkbox in Excel is this - select one or several checkboxes, and press Ctrl + D to copy and paste it. This will produce the following result:
- To copy a checkbox to a specific location, select the checkbox, press Ctrl + C to copy it, right-click the destination cell, and then select Paste in the pop-up menu.
- To copy a checkbox into adjacent cells, use the arrow keys to select the cell containing the checkbox (not the checkbox itself!), and then drag the fill handle (a small square at the lower right-hand corner of the cell) down or to the right.
Notes:
- The caption names of all the copied checkboxes are the same, but the backend names are different since each Excel object has a unique name.
- If the original checkbox is linked to a cell, all of the copied checkboxes will be linked to the same cell. You will have to change the linked cell for each checkbox individually.
How to change the checkbox name and caption text
When using checkboxes in Excel, you should distinguish between the check box name and caption name.
The caption name is the text you see in a newly added checkbox such as Check Box 1. To change the caption name, right click the checkbox, select Edit Text in the context menu, and type the name you want.
The checkbox name is the name you see in the Name box when the checkbox is selected. To change it, select the check box, and type the desired name in the Name box.
Note. Changing the caption name does not change the actual name of the checkbox.
How to select a checkbox in Excel
You can select a single checkbox in 2 ways:
- Right click the checkbox, and then click anywhere within it.
- Click on the checkbox while holding the Ctrl key.
To select multiple checkboxes in Excel, do one of the following:
- Press and hold the Ctrl key, and then click on the checkboxes you want to select.
- On the Home tab, in the Editing group, click Find & Select > Selection Pane. This will open a pane in the right-hand side of your worksheet that lists all of the sheet's objects including checkboxes, charts, shapes, etc. To select multiple checkboxes, just click their names on the pane holding the Ctrl key.
Note. The names displayed on the Selection pane are the checkboxes names, not caption names.
How to delete a checkbox in Excel
Deleting an individual checkbox is easy - select it and press the Delete key on your keyboard.
To delete multiple checkboxes, select them using any of the methods described above, and hit Delete.
To delete all checkboxes at a time, go to the Home tab > Editing group > Find & Select > Go To Special, select the Objects radio button, and click OK. This will select all the check boxes on the active sheet, and you simply press the Delete key to remove them.
Note. Please be careful when using the last method because it will delete all the objects in the active sheet, including checkboxes, buttons, shapes, charts, etc.
How to format checkboxes in Excel
The Check Box Form control type does not allow many customizations, but certain adjustments can still be made. To access the formatting options, right-click the checkbox, click Format Control, and then do any of the following.
On the Color and Lines tab, you can select the desired Fill and Line:
No other changes are allowed for a Check Box Form control in terms of formatting. If you need more options, e.g. setting your own font type, font size, or font style, use a Check Box ActiveX control.
The Size tab, as its name suggests, allows changing the size of the checkbox.
The Protection tab allows locking and unlocking checkboxes. For the locking to take effect, you need to protect the sheet.
The Properties tab lets you position a checkbox in a sheet. The default setting - Move but don't size with cells - ties the check box to the cell where you've placed it.
- If you want to fix the position of a checkbox in the sheet, for instance at the very top of the sheet, select the Don't move or size with cells option. Now, now matter how many cells, rows or columns you add or delete, the checkbox will stay where you put it.
- If you want the checkbox to be printed when you print out a worksheet, make sure the Print object box is selected.
On the Alt Text tab, you can specify the Alternative text for the checkbox. By default, it is the same as the checkbox's caption name.
On the Control tab, you can set the initial state(default state) for the check box such as:
- Checked - displays a check box filled with a checkmark.
- Unchecked - displays the check box without a check symbol.
- Mixed - displays a check box filled with shading that indicates a combination of selected and cleared states. It can be useful, for example, when creating nested checkboxes using VBA.
To give a slightly different look to the check box, turn on 3-D shading.
To link a checkbox to a certain cell, enter the cell address in the Cell link box. You can find more about linked cells and what advantages this gives to you here: How to link checkbox to cell.
This is how you can add, change or delete a checkbox in Excel. If you are looking for real-life examples of using checkboxes in Excel, please check out the following resources.
You may also be interested in
- How to make a checklist in Excel
- Create a To-Do list with conditional formatting
- Create an interactive report
- Make a dynamic chart depending on checkboxes
Excel: featured articles
- Merge multiple sheets into one
- Combine Excel files into one
- Compare two files / worksheets
- Merge 2 columns in Excel
- Compare 2 columns in Excel for matches and differences
- How to merge two or more tables in Excel
- CONCATENATE in Excel: combine text strings, cells and columns
- Create calendar in Excel (drop-down and printable)
- 3 ways to remove spaces between words in Excel cells
Table of contents
- Check Box Form control vs. Check Box ActiveX control
- How to add checkbox in Excel
- How to quickly insert multiple checkboxes (copy checkbox)
- Change the checkbox name and caption name
- Select one or multiple checkboxes
- Delete one, some or all checkboxes on the sheet
- Change checkbox formatting and fix the position in the sheet