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:
- Select the graphic (or graphics) whose properties you want to modify.
- Right-click the graphic (or graphics). Excel displays a Context menu.
- Choose Size and Properties from the shortcut menu. Excel displays the Size and Properties dialog box.
- Make sure the Properties tab is selected. (See Figure 1.)
- Make sure the Move and Size with Cells check box is selected.
- Click OK.
Figure 1. The Properties tab of the Size and Properties dialog box.
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.