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

Editing the Windows Registry

The Registry is the central depository of configuration information used by Windows and by programs running on your system. ...

Discover More

Using Call to Run VBA Macros

An elegant way to run macros from within macros is to use the Call statement. In order to use it, you need to provide a ...

Discover More

References to Hyperlinks aren't Hyperlinks

Make a reference to a hyperlink in a formula, and you may be surprised that the reference doesn't return an active hyperlink. ...

Discover More

Excel Smarts for Beginners! Featuring the friendly and trusted For Dummies style, this popular guide shows beginners how to get up and running with Excel while also helping more experienced users get comfortable with the newest features. Check out Excel 2013 For Dummies today!

MORE EXCELTIPS (MENU)

Conditionally Formatting an Entire Row

Need to conditionally highlight an entire row based on the contents of a single cell in each row? This tip explains how you ...

Discover More

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

Unable to Format Cells

If you ever get to a situation where you can no longer format cells in a workbook, you'll realize just how important the ...

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 for this tip:

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. 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 7 + 8?

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


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.

Links and Sharing
Share