Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Jon
 
Posts: n/a
Default Autofit Row Height of Merged Cells

There are two cases I've found when the autofit row height command does not
work:

1. When I have a merged cell in a row, and the merged cell has text that
wraps to additional lines
2. When I use <ALT Enter to go to a new line within any cell's contents

In both of the above cases, executing the autofit command (either by
selecting it in the Format menu or by double clicking on the lower row
boundary) will resize the row to the default 12.75 height.

Is there any way around this?
  #2   Report Post  
Mike
 
Posts: n/a
Default

unmerge, autofit, remerge

"Jon" wrote:

There are two cases I've found when the autofit row height command does not
work:

1. When I have a merged cell in a row, and the merged cell has text that
wraps to additional lines
2. When I use <ALT Enter to go to a new line within any cell's contents

In both of the above cases, executing the autofit command (either by
selecting it in the Format menu or by double clicking on the lower row
boundary) will resize the row to the default 12.75 height.

Is there any way around this?

  #3   Report Post  
Dave Peterson
 
Posts: n/a
Default

Jim Rech wrote a macro called AutoFitMergedCellRowHeight that you may like:
http://groups.google.com/groups?thre...%40tkmsftngp05

If you're new to macros, you may want to read David McRitchie's intro at:
http://www.mvps.org/dmcritchie/excel/getstarted.htm

For #2. If the cell is merged, see #1. If the cell isn't merged, I don't think
I've ever seen excel behave this way. Maybe you can post some particulars.


Jon wrote:

There are two cases I've found when the autofit row height command does not
work:

1. When I have a merged cell in a row, and the merged cell has text that
wraps to additional lines
2. When I use <ALT Enter to go to a new line within any cell's contents

In both of the above cases, executing the autofit command (either by
selecting it in the Format menu or by double clicking on the lower row
boundary) will resize the row to the default 12.75 height.

Is there any way around this?


--

Dave Peterson
  #4   Report Post  
Jon
 
Posts: n/a
Default

thanks.

"Dave Peterson" wrote:

Jim Rech wrote a macro called AutoFitMergedCellRowHeight that you may like:
http://groups.google.com/groups?thre...%40tkmsftngp05

If you're new to macros, you may want to read David McRitchie's intro at:
http://www.mvps.org/dmcritchie/excel/getstarted.htm

For #2. If the cell is merged, see #1. If the cell isn't merged, I don't think
I've ever seen excel behave this way. Maybe you can post some particulars.


Jon wrote:

There are two cases I've found when the autofit row height command does not
work:

1. When I have a merged cell in a row, and the merged cell has text that
wraps to additional lines
2. When I use <ALT Enter to go to a new line within any cell's contents

In both of the above cases, executing the autofit command (either by
selecting it in the Format menu or by double clicking on the lower row
boundary) will resize the row to the default 12.75 height.

Is there any way around this?


--

Dave Peterson

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
Pasting into merged cells Jacques E. Bouchard Excel Discussion (Misc queries) 1 May 12th 05 03:27 AM
Row Autofit on Merged Cells Jluo Excel Discussion (Misc queries) 1 April 18th 05 02:37 PM
How can I Excel to re-size when wrapping text in merged cells Samjoy Excel Discussion (Misc queries) 4 February 4th 05 12:47 AM
Auto fit wrapped and merged cells elmo2 Excel Discussion (Misc queries) 1 January 17th 05 06:45 AM
Auto fit merged cells Anson Excel Discussion (Misc queries) 1 December 20th 04 09:09 PM


All times are GMT +1. The time now is 04:11 PM.

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"