Please Note: This article is written for users of the following Microsoft Excel versions: 2007, 2010, 2013, 2016, 2019, and 2021. If you are using an earlier version (Excel 2003 or earlier), this tip may not work for you. For a version of this tip written specifically for earlier versions of Excel, click here: Grouping and Ungrouping Objects.

Grouping and Ungrouping Objects

Written by Allen Wyatt (last updated October 16, 2021)
This tip applies to Excel 2007, 2010, 2013, 2016, 2019, and 2021


2

Excel provides a feature found in many graphics programs—the ability to group graphics objects. For instance, you can spend a great deal of time positioning graphics objects in just the right position in order to achieve a desired effect. It is not unusual to create compound objects that are comprised of dozens of smaller objects.

Rather than risk getting the objects out of order or having their positions changed, you can group them so that they are treated as a single object. This is done by selecting all the objects you want grouped together (hold down the Shift key as you select each object you want in the group).

Finally, right-click on one of the images in the group. Excel displays a Context menu from which you should choose Group | Group. Notice that the individual handles for each object disappear, and instead, handles appear around a rectangle that encompasses all the objects in the group.

If you later want to ungroup the objects, simply right-click the group and choose Group | Ungroup.

Note, as well, that this tip refers to grouping graphics objects, not grouping charts or portions of charts. (Charts are an object in Excel, but they are not a graphics object.)

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (10036) applies to Microsoft Excel 2007, 2010, 2013, 2016, 2019, and 2021. You can find a version of this tip for the older menu interface of Excel here: Grouping and Ungrouping Objects.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Line Numbering and Tables

Some types of documents (such as legal documents) may require that individual lines of text be numbered. If you use ...

Discover More

Getting a Double-Spaced Printout

When working with printed documents, many people prefer to see the document double-spaced. If you have a single-spaced ...

Discover More

Copying Named Ranges

Named ranges are a great tool to use in developing formula-heavy workbooks. You may want, at some point, to copy your ...

Discover More

Create Custom Apps with VBA! Discover how to extend the capabilities of Office 2013 (Word, Excel, PowerPoint, Outlook, and Access) with VBA programming, using it for writing macros, automating Office applications, and creating custom applications. Check out Mastering VBA for Office 2013 today!

More ExcelTips (ribbon)

Displaying Images based on a Result

Got some images that you want to appear in a worksheet based on the result displayed in a cell? Figuring out how to ...

Discover More

Adding Drop Shadows

Want your shapes to really "pop" off the page? Add a drop shadow to them, as described in this tip.

Discover More

Inserting a Picture in Your Worksheet

Worksheets can contain more than just text and numbers. Here's the low-down on the different types of pictures you can ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] (all 7 characters, in the sequence shown) in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is 7 - 7?

2021-10-18 16:01:24

Mike D.

Sorry, my words did not come out properly in the second paragraph of my post, this is what it was supposed to look like.

This is because when you resize a column or row, objects in their range will change shape and size if you don't. If different objects inside the group are set different from each other some will change shape and size and others will not. This will mess up object to object spacial relationships inside the grouping.


2021-10-18 08:32:20

Mike D.

I do this all the time with my graphical spreadsheets. I thought I would share a couple of things I have discovered along the way.
Make sure all of the objects, pictures, text boxes, shapes (e.g. arrows) have their properties set with "Move but don't size" or "Don't move or size with cells".

This is because when you size a column or row objects in their range will change shape if you don't. If some are set don't size and other are not different objects inside the group will change and other will now messing everything up inside the grouping.

When you right click inside the objects you want to group do not right click on a text box. This will un-select everything except the text box and go to "edit text box" mode. However there is one way you can get the pop up menu if you are grouping text boxes, press and hold the 'Shift' key when right clicking.

I hope this help you to not make the learning mistakes I have made (more than once) when grouping objects.


This Site

Got a version of Excel that uses the ribbon interface (Excel 2007 or later)? This site is for you! If you use an earlier version of Excel, visit our ExcelTips site focusing on the menu interface.

Newest Tips
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.