Auto Row Height with Wrapped Text in Merged Cells Problem

R

Rick Cl.

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?
 
R

Rick Cl.

Thanks Dave!! Used the improved version by Daniel Larrson found on that
thread and it works great!!
 
G

Gord Dibben

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/micr...60cbeb27874?lnk=st&q=&rnum=4#ca1c160cbeb27874

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top