With a desktop version of Excel, you can use a group box to group related controls (such as option buttons, check boxes, or closely related contents) into one visual unit.
Group boxes are rectangular objects with optional labels. Use a group box to visually organize related items on a form. For example, in a customer order application, group the name, address, and account number of a customer. Or in an order form, group a list of available items.
Group box (Form control) image type="content" source="media/formgroup.gif" alt-text="Example of a Form group box control"
Add a group box (Form control)
Make sure the Developer tab is available.
Display the Developer tab- Click File > Options > Customize Ribbon.
- Under Customize the Ribbon, click Main tabs from the dropdown list.
- Select the Developer checkbox, and then click OK.
- Make sure that you are in design mode. On the Developer tab, click Design Mode
.
On the Developer tab, click Insert, and then under Form Controls, click Group box
.
Click the worksheet location where you want the upper-left corner of the group box to appear.
Place related controls inside the boundary of the Group box.
For example:- Check boxes, such as a list of related products for purchase.
- Labels and text boxes, such as name and address information.
- Option buttons that indicate a set of mutually exclusive choices, such as Small, Medium, or Large.
To specify the control properties, right-click the control, and then click Format Control.