XL: Text Pasted from Text Box Contains Extra Blank CellsLast reviewed: February 2, 1998Article ID: Q176155 |
The information in this article applies to:
SYMPTOMSIn Microsoft Excel, if you copy text in a text box and paste the text in a cell in a worksheet, the pasted text may contain extra blank cells.
CAUSEThis problem occurs if the copied text contains any carriage returns, for example
ABC<RETURN> DEF<RETURN> GHIwhere <RETURN> represents a carriage return. When you paste the text, it appears in the worksheet as follows
ABC <blank cell> DEF <blank cell> GHIwhere <blank cell> is an empty cell.
WORKAROUNDIf this problem occurs, manually delete the blank cells, or move the pasted cells together so that no blank cells are between them.
STATUSMicrosoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
MORE INFORMATIONIn Microsoft Excel for the Macintosh, if you press RETURN while entering text in a text box, a carriage return (CR) character is added to the text box. When you copy text from the text box, copied CR characters are converted into "carriage return line feed" (CRLF) characters. If you then paste the text into a worksheet, Microsoft Excel treats the CRLF characters as two separate CR characters. As a result, blank cells appear in the pasted text.
ExampleTo see an example of this problem, follow these steps:
A1: ABC A2: A3: DEF A4: A5: GHI |
Additional query words: XL5
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |