Microsoft KB Archive/181708

= XL98: "That Command Cannot Be Used" Inserting Columns or Rows =

Article ID: 181708

Article Last Modified on 9/11/2002

-

APPLIES TO


 * Microsoft Excel 98 for Macintosh

-



This article was previously published under Q181708





SYMPTOMS
In a Microsoft Excel 98 Macintosh Edition 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:
 * You merge cells in a column or row. -and-


 * You select the entire column or row in which you merged cells. -and-


 * The column or row that you select contains a merged cell that extends over another column or row that you do not select. -and-


 * You click Columns or Rows on the Insert menu.



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 then click Columns or Rows on the Insert menu.



STATUS
This behavior is by design of Microsoft Excel 98 Macintosh Edition.



MORE INFORMATION
In Microsoft Excel 98 Macintosh Edition, 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, follow these steps:
 * 1) Select the range of cells that you want to merge.
 * 2) On the Format menu, click Cells. Click the Alignment tab.
 * 3) 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.

