Microsoft Knowledge Base |
|
XL: Cell Borders Not Sorted with Data |
|
|
Last reviewed: March 27, 1997
Article ID: Q119130 |
|
5.00 5.00c 7.00 | 5.00 5.00a
WINDOWS | MACINTOSHkbusage The information in this article applies to:
SYMPTOMSIn Microsoft Excel 5.0, the border formatting of a cell is anchored to that cell and does not move when you sort a range of cells. NOTE: This behavior is different from Microsoft Excel 4.0. In Microsoft Excel 4.0, the border around a cell is anchored to the cell's contents (that is, when the data is sorted, the border format moves with the cell's contents). All other cell formatting, including patterns and locked and hidden attributes, moves with the value when you sort data in Microsoft Excel 5.0.
WORKAROUNDIf you want to create a border-like format that is anchored to the data, use the drawing tools, and create a line or rectangle around the data. Then, make sure that the "Cut, Copy, And Sort Objects With Cells" option is selected on the Edit tab of the Options dialog box (from the Tools menu, choose Options). When you sort the cells that are outlined with the lines or rectangles, the objects will be moved with the data in the cells.
STATUSThis behavior is by design in Microsoft Excel version 5.0. Cell borders are often used to delimit portions of the worksheet. And therefore, in order to maintain the desired spreadsheet format, borders are not moved with the sorted cells.
REFERENCES"User's Guide," version 5.0, page 389
|
|
KBCategory: kbusage
©1997 Microsoft Corporation. All rights reserved. Legal Notices. |