ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   New Users to Excel (https://www.excelbanter.com/new-users-excel/)
-   -   Merging cells and text wrap (https://www.excelbanter.com/new-users-excel/48001-merging-cells-text-wrap.html)

Taecan

Merging cells and text wrap
 
Hi, I've merged 2 cells and set 'wrap' text, but I also want the merged cells
to adjust size automatically so I can see all the text. It does it OK when
the cells are not merged, but not when they are. How can I do this?

Gord Dibben

Taecan

You have asked for code to deal with autofitting merged cells.

I will first give you my standard rant on merged cells.

Merged cells are the spawn of Satan!

They cause more problems with Excel than any other feature I can think of.

Copying, cutting, pasting, sorting, filtering are all affected by merged
cells.

Now the code<g

Jim Rech has written code for this.

http://groups.google.com/groups?thre...%40tkmsftngp05

Note also a recent adaptation of this code by Greg Wilson.

http://makeashorterlink.com/?P37D24B15


Gord Dibben Excel MVP

On Fri, 30 Sep 2005 08:17:04 -0700, Taecan
wrote:

Hi, I've merged 2 cells and set 'wrap' text, but I also want the merged cells
to adjust size automatically so I can see all the text. It does it OK when
the cells are not merged, but not when they are. How can I do this?



Duke Carey

Amen, brother!

"Gord Dibben" wrote:

Taecan

You have asked for code to deal with autofitting merged cells.

I will first give you my standard rant on merged cells.

Merged cells are the spawn of Satan!

They cause more problems with Excel than any other feature I can think of.

Copying, cutting, pasting, sorting, filtering are all affected by merged
cells.

Now the code<g

Jim Rech has written code for this.

http://groups.google.com/groups?thre...%40tkmsftngp05

Note also a recent adaptation of this code by Greg Wilson.

http://makeashorterlink.com/?P37D24B15


Gord Dibben Excel MVP

On Fri, 30 Sep 2005 08:17:04 -0700, Taecan
wrote:

Hi, I've merged 2 cells and set 'wrap' text, but I also want the merged cells
to adjust size automatically so I can see all the text. It does it OK when
the cells are not merged, but not when they are. How can I do this?





All times are GMT +1. The time now is 05:34 PM.

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