Wrapping Your Text
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:
- Select the cells whose formatting you want to affect.
- Choose Cells from the Format menu. This displays the Format Cells dialog box.
- Click on the Alignment tab. (See Figure 1.)
Figure 1. The Alignment tab of the Format Cells dialog box.
- Make sure the Wrap Text check box is selected.
- 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.
Create Custom Apps with VBA! Discover how to extend the capabilities of Office 2013 (Word, Excel, PowerPoint, Outlook, and Access) with VBA programming, using it for writing macros, automating Office applications, and creating custom applications. Check out Mastering VBA for Office 2013 today!
Leave your own comment:
Comments for this tip:
Shannon Van 31 Jan 2016, 22:42
Great macro, I've installed it on my Excel 2003 and a button, works just like I want it to, THANK YOU.
Tim Murphy 14 Jan 2013, 13:44
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.
' Word Wrap Button Macro
Dim btnstate As Boolean
On Error GoTo FixWrap
btnstate = Selection.WrapText
If btnstate Then
.WrapText = False
.WrapText = True
MsgBox "In the selected cells there is a mix of wrapped and unwrapped text. All text will be unwrapped."
.WrapText = False
Doug Damoth 14 Jan 2013, 10:13
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.?
Jim Hendricks 12 Jan 2013, 14:05
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
Ray Austin 12 Jan 2013, 13:05
Wrapped text looks better (& more of it remains visible) if you reverse "Text alignment: Vertical" from Bottom to Top