ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Setting rows to autofit wrapping text in a cell (https://www.excelbanter.com/excel-discussion-misc-queries/252740-setting-rows-autofit-wrapping-text-cell.html)

John

Setting rows to autofit wrapping text in a cell
 
I have a spreadsheet with 5 columns and 6 rows. Each cell will contain text
of an indeterminate length. I would like the rows to autofit the text but
even though I've selected that in format when I test a cell to see if the row
will automatically increase in height to accommodate the text the row does
not adjust and all of the text is not seen. Is there a way to fix this?

Thanks
--
John

Gord Dibben

Setting rows to autofit wrapping text in a cell
 
A few things to look for.

The cells must be set to Wrap Text and rows set to Autofit.

BUT.........if any cells are merged row autofit will not work and VBA must
be employed.

Also. if the number of characters in the cell exceeds 1024 you will not see
characters past that point even with wrap text and row autofit.

In the latter case, add an in-cell linefeed every 100 or so characters using
Alt + Enter


Gord Dibben MS Excel MVP


On Thu, 7 Jan 2010 14:41:02 -0800, John
wrote:

I have a spreadsheet with 5 columns and 6 rows. Each cell will contain text
of an indeterminate length. I would like the rows to autofit the text but
even though I've selected that in format when I test a cell to see if the row
will automatically increase in height to accommodate the text the row does
not adjust and all of the text is not seen. Is there a way to fix this?

Thanks




All times are GMT +1. The time now is 04:47 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com