Wrapping Your Text

by Allen Wyatt
(last updated January 12, 2013)

5

It is fairly easy to put more text in a cell than can be easily displayed. While you can widen the column to display all the text, that may not always work for your needs. Instead, you can wrap the text within the cell, so that the cell height is increased to display all the text. Follow these steps:

  1. Select the cells whose formatting you want to affect.
  2. Choose Cells from the Format menu. This displays the Format Cells dialog box.
  3. Click on the Alignment tab. (See Figure 1.)
  4. Figure 1. The Alignment tab of the Format Cells dialog box.

  5. Make sure the Wrap Text check box is selected.
  6. Click on OK.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (2676) applies to Microsoft Excel 97, 2000, 2002, and 2003.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He  is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Reorganizing Data

If you need to consolidate a single column of data into multiple columns of data, you'll love this macro. It provides a way ...

Discover More

Formatting for Hundredths of Seconds

When you display a time in a cell, Excel normally displays just the hours, minutes, and seconds. If you want to display the ...

Discover More

Merging and Printing a Series of Documents

Do you need to merge and print a number of documents in a particular order? Perhaps the best approach is to record a simple ...

Discover More

Professional Development Guidance! Four world-class developers offer start-to-finish guidance for building powerful, robust, and secure applications with Excel. The authors show how to consistently make the right design decisions and make the most of Excel's powerful features. Check out Professional Excel Development today!

More ExcelTips (menu)

Preventing Changes to Formatting and Page Size

When you create workbooks for others to use, you might want to make sure that they can't change the formatting and paper size ...

Discover More

Converting From Numbers to Text

If you have a range of numeric values in your worksheet, you may want to change them from numbers to text values. Here's how ...

Discover More

Conditional Page Breaks

Need to have your worksheet printout start on a new page every time a value in a column changes? There are a couple of ways ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 8Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is 0 + 7?

2016-01-31 22:42:06

Shannon Van

Great macro, I've installed it on my Excel 2003 and a button, works just like I want it to, THANK YOU.


2013-01-14 13:44:54

Tim Murphy

@ Doug.
I found a macro that I put into the personal.xls file and then added a button to the toolbar and assigned it to this macro. No more right clicking, etc. Macro will work on a single cell or multiple cells.

Sub WordWrapBtn()
' Word Wrap Button Macro
Dim btnstate As Boolean
On Error GoTo FixWrap
btnstate = Selection.WrapText
With Selection
If btnstate Then
.WrapText = False
Else
.WrapText = True
End If
End With
'
Exit Sub
'
FixWrap:
MsgBox "In the selected cells there is a mix of wrapped and unwrapped text. All text will be unwrapped."
With Selection
.WrapText = False
End With

End Sub


2013-01-14 10:13:18

Doug Damoth

Also, I've tried to find a hot key to format selected cell(s) as wrapped but didn't find any.

Any suggestions for a work-around so that we don't have to right click go to the alignment tab etc.?


2013-01-12 14:05:13

Jim Hendricks

I have noticed, while using "word wrap" and also "top" in verticle alignment, that there seems to be a limit to the number of lines/words you can view within the cell. If I exceed this limit, (whatever it is), and SAVE my work, I will need to "double click" on the cell to open and view it completely. My problem with this is that I am unable to double click and then PRINT the cell because my Excel 97 will print only the truncated view. "PRINT" is not available when the cell is in the expanded view. I have tried to expand the verticle row size by moving the line # in the far left column down with my mouse but this only enlarges the row and the last line of printing within the cell is still overlappped and unreadable followed by an empty space created by the line # shift. Is there a way around this problem? Thank you, Jim


2013-01-12 13:05:30

Ray Austin

Wrapped text looks better (& more of it remains visible) if you reverse "Text alignment: Vertical" from Bottom to Top


This Site

Got a version of Excel that uses the menu interface (Excel 97, Excel 2000, Excel 2002, or Excel 2003)? This site is for you! If you use a later version of Excel, visit our ExcelTips site focusing on the ribbon interface.

Newest Tips
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.