ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Auto Row Height with Wrapped Text in Merged Cells Problem (https://www.excelbanter.com/excel-discussion-misc-queries/265163-auto-row-height-wrapped-text-merged-cells-problem.html)

Rick Cl.

Auto Row Height with Wrapped Text in Merged Cells Problem
 
I can't get my spreadsheet to automatically change the row height when using
text wrapping IF I'm working with several merged cells in adjacent columns.
It works fine on a single cell but not with merged cells. (I have tried
selecting FORMAT, Rows, AutoFit) Any suggestions?

Dave Peterson

Auto Row Height with Wrapped Text in Merged Cells Problem
 
I start with a macro that Jim Rech shared:
http://groups.google.com/groups?thre...%40tkmsftngp05



Rick Cl. wrote:

I can't get my spreadsheet to automatically change the row height when using
text wrapping IF I'm working with several merged cells in adjacent columns.
It works fine on a single cell but not with merged cells. (I have tried
selecting FORMAT, Rows, AutoFit) Any suggestions?


--

Dave Peterson

Rick Cl.

Auto Row Height with Wrapped Text in Merged Cells Problem
 
Thanks Dave!! Used the improved version by Daniel Larrson found on that
thread and it works great!!

"Dave Peterson" wrote:

I start with a macro that Jim Rech shared:
http://groups.google.com/groups?thre...%40tkmsftngp05



Rick Cl. wrote:

I can't get my spreadsheet to automatically change the row height when using
text wrapping IF I'm working with several merged cells in adjacent columns.
It works fine on a single cell but not with merged cells. (I have tried
selecting FORMAT, Rows, AutoFit) Any suggestions?


--

Dave Peterson
.


Gord Dibben

Auto Row Height with Wrapped Text in Merged Cells Problem
 
You need VBA to assist with this.

I would not use merged cells at all if they can be avoided.

See google search thread for code by Greg Wilson. Watch out for word wrap
in the URL which is all one line.

http://groups.google.com/group/micro...1c160cbeb27874

Note..........this is sheet event code and runs when a cell is changed
manually.

To store the code, right-click on your sheet tab and "View Code"

Copy/paste the code into that sheet module.

Alt + q to return to Excel.


Gord Dibben MS Excel MVP

On Thu, 3 Jun 2010 10:39:48 -0700, Rick Cl.
wrote:

I can't get my spreadsheet to automatically change the row height when using
text wrapping IF I'm working with several merged cells in adjacent columns.
It works fine on a single cell but not with merged cells. (I have tried
selecting FORMAT, Rows, AutoFit) Any suggestions?




All times are GMT +1. The time now is 02:06 PM.

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