Working with Layers of Objects

When you place two or more objects on a worksheet or chart, they may overlap; the top object may block the object beneath it and prevent you from seeing it. Sometimes, you want various objects to overlap; for instance, you might want to draw an arrow on top of a chart. However, you must also be able to change the positions of various overlapping objects in relation to one another, and sometimes the object you want to move is at the bottom of the stack. Fortunately, Excel offers a couple of drawing tools that can help you flip through the stack and group two or more objects so they act as one, which makes manipulating them much easier. The following sections provide details on how to select, change the order of, and group drawn objects.

Selecting Objects

Selecting an object is fairly simple, assuming the object is at the top of the stack or has an edge that's visible. To select an object, click its line. (You can select most two- and three-dimensional objects by clicking anywhere on the object, unless the object has no fill.)

Moving an Object Up or Down in the Stack

When stacked objects overlap, selecting an object that's buried deep in the stack can seem impossible . To access the object, you must bring it to the front of the stack or move the objects that are obscuring it to the bottom of the stack. You can send an object that's up front back one layer or all the way to the bottom of the stack, or you can bring an object from the back to the front. First, select the object you want to move (if possible). If you cannot select the object you want to move, select the object in front of it, so you can move the object that's in your way down in the stack.

Tip

graphics/tman.gif

To make an object transparent, except for its border, remove the object's fill (or shading). Right-click the object and click Format Object (where Object specifies the type of object). In the Format Object dialog box, click the Colors and Lines tab, open the Fill Color list, and click No Fill . (When a two- or three-dimensional object has no fill, you must click the object's border to select it; clicking inside the shape selects whatever is behind the object.)


After selecting the object you want to move, right-click it, point to Order , and select the desired movement: Bring to Front , Send to Back , Bring Forward , Send Backward , Bring in Front of Text , or Send Behind Text , as shown in Figure 9.11. These options are also available in the Drawing toolbar; to access them, click Draw on the Drawing toolbar, point to Order , and then click the desired movement. (Some options might not appear on the menu immediately; leave the menu open a few seconds to display all the options.)

Figure 9.11. You can move an object up or down in a stack of objects.

graphics/09fig11.jpg

Grouping and Ungrouping Objects

Moving a collection of shapes or resizing them as a whole becomes difficult. If you drag one object, you ruin its relative position to the other objects. Similarly, if you need to shrink or enlarge the drawing, you should not need to resize each object separately. And you don't have to. Excel enables you to group two or more objects so you can move and resize them as if they were a single object. To group two or more objects, follow these steps:

  1. graphics/draw.gif Click the Select Objects button in the Drawing toolbar.

  2. Move the mouse pointer somewhere outside the imaginary square in which the objects are contained.

  3. Hold down the left mouse button, and drag a selection box around all the objects you want to include in the group. Handles appear around each of the selected objects.

  4. Right-click one of the selected objects, point to Grouping , and click Group (or open the Draw menu in the Drawing toolbar and choose Group ). The handles around each individual object disappear, and a single set of handles appears around the group, as shown in Figure 9.12. You can now drag a handle to resize all the objects in the group, or you can drag any object in the group to move the group.

    Figure 9.12. You can group two or more objects and treat them as a single object.

    graphics/09fig12.jpg

Note

graphics/nman.gif

When selecting objects, you must drag a selection box around all the objects. Make sure the box completely surrounds all objects you want included in the group; if a portion of an object is outside the box, it will not be selected.


To turn off grouping so you can work with an individual object, open the Draw menu again and click Ungroup . After you're finished working with the individual object, you can regroup the objects by opening the Draw menu and selecting Regroup .



Absolute Beginner's Guide to Microsoft Office Excel 2003
Absolute Beginners Guide to Microsoft Office Excel 2003
ISBN: 0789729415
EAN: 2147483647
Year: 2002
Pages: 189

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net