The information in this article applies to:
SUMMARYIn Microsoft Excel 97, you can control how charts, drawing objects, AutoShapes, controls, and other objects contained in a worksheet are attached to the cells below them. This article explains how to set the Placement property for objects in your worksheets. MORE INFORMATIONObjects in worksheets can be attached to the cells below them using three different placement styles:
You can control how objects are attached to cells by using the Format
dialog box, the Properties window, or by using Visual Basic macro code.
Using the Format Dialog Box to Control PlacementTo format an object's placement style, follow these steps:
Using the Properties Window to Control PlacementThis method applies only to controls contained in a worksheet. You cannot use this method to format the placement style of other types of objects.
If you set an invalid Placement value, you receive the following error message: In Microsoft Excel 97, the only valid Placement values are 1, 2, and 3. Using Visual Basic Code to Control PlacementYou can use the Placement Property in Visual Basic for Applications to control the placement style of an object. Here are some examples of how to do this:
REFERENCESFor more information about object placement in Microsoft Excel 97, click the Office Assistant, type the words object placement, and press ENTER. Then, click the button labeled "Prevent objects from moving and sizing with cells". Additional query words: 97 XL97
Keywords : |
Last Reviewed: November 4, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |