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.

Text Is Wrapped Incorrectly When Typed in a Cell


View products that this article applies to.

This article was previously published under Q176472

↑ Back to the top


Symptoms

In Microsoft Excel, when you type text in a cell, and then press ENTER or RETURN, a character may move from one line to the next line in the cell.

For example, the behavior is illustrated in the following table:
   Appearance of          Appearance of text after
   entered text           you press ENTER or RETURN
   -------------------------------------------------
   ReviewCycleIII         ReviewCycleII
                          I

   Alphabravoch           Alphabravoc
   arlie                  harlie
				
This problem may cause text that appears on a single line when you type it, to appear on two lines.

↑ Back to the top


Cause

This problem may occur when the following conditions are true:
  • You select the cell, click Cells on the Format menu, click the Alignment tab, click Wrap Text, and then click OK.

    -and-
  • The text that you are typing in the cell is almost exactly the same width as the cell.

    -and-
  • The text contains a single word that is too long to be displayed on a single line.
Specifically, the problem occurs because the space that is enclosed by the cell outline (the border that indicates which cell is currently selected) increases slightly in width when you edit the cell. If the text is almost exactly the same width as this space, Microsoft Excel wraps the text when you press ENTER or RETURN. This behavior occurs because the space that is enclosed by the cell outline decreases slightly in width.

↑ Back to the top


Workaround

To work around this problem, do either of the following:
  • Either increase or decrease the width of the column that contains the cell in which the problem occurs.

    -or-
  • Increase or decrease the size of the font that you use in the cell so that the text does not exactly fill the space inside the cell outline.

↑ Back to the top


Status

Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article.

↑ Back to the top


More information

In Microsoft Excel, you can wrap text in a single cell by applying the Wrap Text format to the cell. To do this, follow these steps:
  1. Select the cell to which you want to apply the format.
  2. On the Format menu, click Cells.
  3. On the Alignment tab, click to select the Wrap Text check box, and then click OK.
When you type text in the cell, the text is automatically wrapped to multiple lines if necessary.

↑ Back to the top


Keywords: KB176472, kbbug

↑ Back to the top

Article Info
Article ID : 176472
Revision : 4
Created on : 8/17/2005
Published on : 8/17/2005
Exists online : False
Views : 505