ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   "autofit row ht" in merged cells (https://www.excelbanter.com/excel-discussion-misc-queries/258861-autofit-row-ht-merged-cells.html)

amy jo

"autofit row ht" in merged cells
 
It seems like I cant have a cell set to "autofit row ht" and merged cells,
which is very frustrating. Basically I would like to have a lot of text in
one large cells, and have the ht automatically adjust. It really seems like
this should be possible.
Thanks!

David Biddulph[_2_]

"autofit row ht" in merged cells
 
There are many things that don't work with merged cells. See the archives
of this newsgroup for reasons not to use merged cells.
--
David Biddulph


"amy jo" <amy wrote in message
...
It seems like I cant have a cell set to "autofit row ht" and merged cells,
which is very frustrating. Basically I would like to have a lot of text
in
one large cells, and have the ht automatically adjust. It really seems
like
this should be possible.
Thanks!




Gord Dibben

"autofit row ht" in merged cells
 
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 Sun, 14 Mar 2010 10:55:02 -0700, amy jo <amy
wrote:

It seems like I cant have a cell set to "autofit row ht" and merged cells,
which is very frustrating. Basically I would like to have a lot of text in
one large cells, and have the ht automatically adjust. It really seems like
this should be possible.
Thanks!




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

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