Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11
Default 2003: Autofit merged cells

I am using Excel 2003. I need to merge the cells in most of columns C
and D (e.g. C2 is merged with D2, C3 is merged with E3, etc.). Merging
is not a problem. I also need to wrap text in those newly merged cells.
That is not a problem. The problem arises when I try to autofit the text
in the merged and wrapped cells. Any attempt to autofit cuts off the
cells at one line of text. If I remove the merging, the autofit works
perfectly.

For example, if the merged C2&D2 contains:

This is my comment to you. You
are doing very well. I hope that
you continue to do this well on
the rest of your assignments.

Autofit will shrink the height of the line to just show:

This is my comment to you. You

Is there anything that I can do about this? It is possible to redesign
the worksheet so that the cells are not merged, but this is a pain and
produces results that are not quite what is needed. Please help. Thanks.

--David

--
David M. Marcovitz
Microsoft PowerPoint MVP
Author of _Powerful PowerPoint for Educators_
http://www.PowerfulPowerPoint.com/
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,819
Default 2003: Autofit merged cells

Yes, merged cells cause plenty of grief, it's typically recommended here
to not use them.

David M. Marcovitz wrote:
I am using Excel 2003. I need to merge the cells in most of columns C
and D (e.g. C2 is merged with D2, C3 is merged with E3, etc.). Merging
is not a problem. I also need to wrap text in those newly merged cells.
That is not a problem. The problem arises when I try to autofit the text
in the merged and wrapped cells. Any attempt to autofit cuts off the
cells at one line of text. If I remove the merging, the autofit works
perfectly.

For example, if the merged C2&D2 contains:

This is my comment to you. You
are doing very well. I hope that
you continue to do this well on
the rest of your assignments.

Autofit will shrink the height of the line to just show:

This is my comment to you. You

Is there anything that I can do about this? It is possible to redesign
the worksheet so that the cells are not merged, but this is a pain and
produces results that are not quite what is needed. Please help. Thanks.

--David


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11
Default 2003: Autofit merged cells

Thanks, Bob. That's too bad.
--David

Bob I wrote in
:

Yes, merged cells cause plenty of grief, it's typically recommended
here to not use them.

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,268
Default 2003: Autofit merged cells

Actually in most cases you can make the sheet look like it has merged cells,
Assume you want a 5 column header, type the header in the leftmost
cell of those 5, then select all 5 cells and then do formatcellsalignment
and from the
horizontal text alignment dropdown select "Center across selection"

I agree with Bob, I even wish they would remove the option
of having merged cells. If you have to audit and redesign spreadsheets
with lots of merged cells then you tend to look upon them
as the Devil's spawn


--


Regards,


Peo Sjoblom


"David M. Marcovitz" wrote in message
48.16...
Thanks, Bob. That's too bad.
--David

Bob I wrote in
:

Yes, merged cells cause plenty of grief, it's typically recommended
here to not use them.



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default 2003: Autofit merged cells

David

If cells are merged. the row will not autofit even with wrap text enabled
without using VBA

See google search thread for code by Greg Wilson

http://groups.google.com/group/micro...1c160cbeb27874

Second piece of advice is.............get rid of the merged cells.

They cause no end of problems with copying, pasting, sorting, filtering,
autofitting and a few(many?) others that have slipped my mind at present.


Gord Dibben MS Excel MVP

On Tue, 03 Jun 2008 07:25:25 -0700, "David M. Marcovitz"
wrote:

I am using Excel 2003. I need to merge the cells in most of columns C
and D (e.g. C2 is merged with D2, C3 is merged with E3, etc.). Merging
is not a problem. I also need to wrap text in those newly merged cells.
That is not a problem. The problem arises when I try to autofit the text
in the merged and wrapped cells. Any attempt to autofit cuts off the
cells at one line of text. If I remove the merging, the autofit works
perfectly.

For example, if the merged C2&D2 contains:

This is my comment to you. You
are doing very well. I hope that
you continue to do this well on
the rest of your assignments.

Autofit will shrink the height of the line to just show:

This is my comment to you. You

Is there anything that I can do about this? It is possible to redesign
the worksheet so that the cells are not merged, but this is a pain and
produces results that are not quite what is needed. Please help. Thanks.

--David




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Autofit Merged cell Code is changing the format of my merged cells JB Excel Discussion (Misc queries) 0 August 20th 07 02:12 PM
Is there a way to Autofit Merged Cells in a row? JLSmith Excel Discussion (Misc queries) 2 August 1st 06 04:49 PM
Row Autofit on Merged Cells Jluo Excel Discussion (Misc queries) 1 April 18th 05 02:37 PM
Autofit row height in merged cells BobT Excel Discussion (Misc queries) 1 February 25th 05 04:44 PM
Autofit in Merged Cells? Mick Excel Discussion (Misc queries) 4 February 14th 05 05:15 PM


All times are GMT +1. The time now is 04:17 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"