- Characters after approximately the 1,024th character do not appear in the cell; however, they appear in the formula bar when you edit or select the cell.
- Although characters after approximately the 1,024th character do not appear, you can detect and manipulate them with worksheet functions (for example, the RIGHT and MID functions) and macro commands (for example the Characters property).
- If you copy a cell that contains more than 1,024 characters, and then paste them in another cell, all of the characters are pasted into the new cell. However, characters after approximately the 1,024th character do not appear in the destination cell.
- Characters in a cell after approximately the 1,024th character are not printed and may not appear in print preview.
ExampleTo observe this behavior, follow these steps:
- In cell A1 of a new worksheet, type the following formula:=REPT("w",1024)&"xyz"
- With cell A1 selected, click Cells on the Format menu.
- Click the Alignment tab. Click to select the Wrap text check box, and click OK.
- On the Format menu, point to Column, and click AutoFit Selection.
Note that all you can see in cell A1 are "w" characters; the "xyz" characters at the end of the cell are not displayed.
- Type the following formulas in cell A2 and A3:A2: =RIGHT(A1,3)The formula in cell A2 returns the result "xyz", the three rightmost characters in the cell. Cell A3 contains the number 1027, the number of characters present in cell A1.
- Change the formula in cell A1 to:=REPT("w",1023)&"xyz"
Article ID: 211580 - Last Review: Jan 7, 2008 - Revision: 1