Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

You receive an error message when you use the Paste Special command in Excel


View products that this article applies to.

Symptoms

When you try to use the Paste Special command in the versions of Microsoft Excel that are listed in the "Applies to" section, you may receive the following error message:
This operation requires the merged cells to be identically sized.

↑ Back to the top


Cause

This problem may occur if both of the following conditions are true:
  • You copy data from a range of cells that contains merged cells.
  • You try to paste the values only (on the Edit menu, click Paste Special, and then click Values) on the same sheet that you copied the values from.

↑ Back to the top


Workaround

To copy the contents of merged cells and paste their values, you must first unmerge the cells. To work around this problem, follow these steps:
  1. Select the merged cells that are in the range that you want to copy.
  2. On the Format menu, click Cells, and then click the Alignment tab.
  3. Click to clear the Merge cells check box, and then click OK.

    Note the range of cells that you selected.
  4. Select the entire range the you want to copy.
  5. On the Edit menu, click Copy.
  6. Select the range of cells where you want to paste the values.
  7. On the Edit menu, click Paste Special.

    Click Values, and then click OK.
  8. Select the cells that you noted in step 3.
  9. On the Format menu, click Cells, and then click the Alignment tab.
  10. Click the Merge cells check box, and then click OK.

↑ Back to the top


Keywords: KB176838, kbprb, kberrmsg, kbformat

↑ Back to the top

Article Info
Article ID : 176838
Revision : 7
Created on : 1/22/2007
Published on : 1/22/2007
Exists online : False
Views : 44