A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

auto height



 
 
Thread Tools Display Modes
  #1  
Old March 11th, 2010, 12:15 AM posted to microsoft.public.excel.worksheet.functions
lgreggs
external usenet poster
 
Posts: 2
Default auto height

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!!

  #2  
Old March 12th, 2010, 08:41 PM posted to microsoft.public.excel.worksheet.functions
Gord Dibben
external usenet poster
 
Posts: 20,252
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!!


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 01:06 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.