Wrapping Your Text

by Allen Wyatt
(last updated October 20, 2017)

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

Using the SUBTOTAL Function

Need to sum up different ranges of cells? One of the tools you can use is the handy SUBTOTAL function, described in this tip.

Discover More

Copying Named Ranges

Named ranges are a great tool to use in developing formula-heavy workbooks. You may want, at some point, to copy your named ...

Discover More

Calculating an Age On a Given Date

Start putting dates in a worksheet (especially birthdates), and sooner or later you will need to calculate an age based on ...

Discover More

Comprehensive VBA Guide Visual Basic for Applications (VBA) is the language used for writing macros in all Office programs. This complete guide shows both professionals and novices how to master VBA in order to customize the entire Office suite for their needs. Check out Mastering VBA for Office 2010 today!

More ExcelTips (menu)

Copying Formats to a New Worksheet

Do you want to copy formats from one worksheet to another? You can do so easily by using the Format Painter. It even works on ...

Discover More

Formatting Raw Data

When you get a bunch of raw data into Excel from an external source, it isn't going to be formatted to your liking. The ...

Discover More

Changing Font Size Using a Shortcut Key

Want to adjust the font size used in a cell or range of cells? It's easy to do by using the shortcut described in this tip.

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 6Mpixels. 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 4 + 3?

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.