Thread: auto height
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Gord Dibben Gord Dibben is offline
external usenet poster
 
Posts: 22,906
Default auto height

You can Autofit rows with merged cells only by using VBA.

One of the many drawbacks to using merged cells.

If you want to go that route...............

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 Wed, 10 Mar 2010 15:15:01 -0800, lgreggs
wrote:

I have merged cells across the bottom of a worksheet for a comment area. I
have formatted the text to wrap. How do I get the area to auto format the
height? I want to be able to see the full comment area at a glance.

I saw an explanation once, didn't really understand it and can't locate it
to try and decipher. It said something about BTW code.

I would appreciate simple directions. Thank you!!