Please Note: This article is written for users of the following Microsoft Excel versions: 97, 2000, 2002, and 2003. If you are using a later version (Excel 2007 or later), this tip may not work for you. For a version of this tip written specifically for later versions of Excel, click here: Hiding Graphics when Filtering.

Hiding Graphics when Filtering

Written by Allen Wyatt (last updated September 13, 2021)
This tip applies to Excel 97, 2000, 2002, and 2003


1

James has a worksheet that has graphics on top of cells that explain what is in the cells. The graphics sort with the cells just fine, but when he applies filters to the cells, the graphics bunch up at top of cells that are visible. James wonders if there is a way to have graphics hide when filtering data within cells.

The answer has to do with how you have the properties for the graphics set up. You need to make sure that the graphics are set to resize when the row height changes. Here's what you do:

  1. Select the graphic (or graphics) whose properties you want to modify.
  2. Right-click the graphic (or graphics). Excel displays a Context menu.
  3. Choose Format Picture from the shortcut menu. Excel displays the Format Picture dialog box.
  4. Make sure the Properties tab is selected. (See Figure 1.)
  5. Figure 1. The Properties tab of the Format Picture dialog box.

  6. Make sure the Move and Size with Cells check box is selected.
  7. Click OK.

It is step 5 that does the trick here. Since your graphics are sorting properly when you sort the worksheet, chances are good that you had the Move but Don't Size with Cells check box selected. This is what caused the graphics to bunch up—they couldn't resize when filtering hid the rows with which they were associated.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (3866) applies to Microsoft Excel 97, 2000, 2002, and 2003. You can find a version of this tip for the ribbon interface of Excel (Excel 2007 and later) here: Hiding Graphics when Filtering.

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

Printing a Bookmark List

Need to know what bookmarks are defined in a document? Here's a macro that creates a list of all your bookmarks so that ...

Discover More

Determining an Integer Value

When creating macros, you often need to process numbers in various ways. VBA allows you to convert a numeric value to an ...

Discover More

Deleting All Headers and Footers

Headers and footers add a finishing touch to documents, but sometimes they can be bothersome. You may need to remove them ...

Discover More

Solve Real Business Problems Master business modeling and analysis techniques with Excel and transform data into bottom-line results. This hands-on, scenario-focused guide shows you how to use the latest Excel tools to integrate data from multiple tables. Check out Microsoft Excel 2013 Data Analysis and Business Modeling today!

More ExcelTips (menu)

Moving Drawing Objects

Add a drawing object to a worksheet and chances are good you'll need to move it in some way. Here's how to use the mouse ...

Discover More

Resizing a Text Box in a Macro

Text boxes are easy to add to a document and manually resize, as needed. If you want to resize the text box in a macro, ...

Discover More

Taking a Picture

Excel allows you to capture portions of your worksheet as a picture that you can then use in a variety of other ways. ...

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 four less than 7?

2017-05-02 06:36:09

Cormac

THANK YOU! That's been annoying me for a while.


This Site

Got a version of Excel that uses the menu interface (Excel 97, Excel 2000, Excel 2002, or Excel 2003)? This site is for you! If you use a later version of Excel, visit our ExcelTips site focusing on the ribbon 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.