XL97: "That Command Cannot Be Used" Inserting Columns or Rows

ID: Q156446

The information in this article applies to:

SYMPTOMS

In a Microsoft Excel 97 worksheet, if you attempt to insert a new column or row, you may receive the following message:

   That command cannot be used with selections that contain entire rows
   or columns, and also other cells. Try selecting only entire rows,
   entire columns, or just groups of cells.

CAUSE

This behavior occurs when all of the following conditions are true:

RESOLUTION

To resolve this behavior, select a single cell in the column or row in which you merged cells (not the entire column or row), and click Columns or Rows on the Insert menu.

STATUS

This behavior is by design of Microsoft Excel 97.

MORE INFORMATION

In Microsoft Excel 97 there is a new feature that allows you to merge cells in a worksheet. A cell that you merge acts as one cell, even if it occupies multiple columns or rows. To merge a group of cells, use the following steps:

   1. Select the range of cells that you want to merge.

   2. On the Format menu, click Cells.

   3. Click the Alignment tab.

   4. Select the Merge Cells check box and click OK.

The gridlines between the merged cells disappear and the merged cells act as a single cell.

REFERENCES

For more information about merging cells or inserting columns and rows, click the Index tab in Microsoft Excel Help, type the following text

   merging, cells

    -or-

   inserting, col

and then double-click the selected text to go to the appropriate Help topic.

Additional query words: XL97 8.0

Keywords          : kbualink97 xlui 
Version           : WINDOWS:97
Platform          : WINDOWS
Issue type        : kbprb

Last Reviewed: November 1, 1998