ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   How can I automatically expand merged cells to fit text in excel (https://www.excelbanter.com/excel-discussion-misc-queries/131273-how-can-i-automatically-expand-merged-cells-fit-text-excel.html)

Michelle Bance

How can I automatically expand merged cells to fit text in excel
 
I am working on a template which by nature will require varying amounts of
text to be inputted. I can get the row to automatically expand as long as the
cell is singular and not merged with other cells - but in order for the
template design to work I have to merge cells together from the same row. I
have tried formating the cells to shrink to fir, wrap text etc and I have
tried autofit too but this has not worked. Any suggestions?

Dave Peterson

How can I automatically expand merged cells to fit text in excel
 
You have to adjust that manually (or via a macro).

Jim Rech wrote a macro called AutoFitMergedCellRowHeight that you may like:
http://groups.google.com/groups?thre...%40tkmsftngp05

If you're new to macros, you may want to read David McRitchie's intro at:
http://www.mvps.org/dmcritchie/excel/getstarted.htm

Michelle Bance wrote:

I am working on a template which by nature will require varying amounts of
text to be inputted. I can get the row to automatically expand as long as the
cell is singular and not merged with other cells - but in order for the
template design to work I have to merge cells together from the same row. I
have tried formating the cells to shrink to fir, wrap text etc and I have
tried autofit too but this has not worked. Any suggestions?


--

Dave Peterson


All times are GMT +1. The time now is 09:33 PM.

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