Autofit height of merged cells

Renee_KK

New Member
Joined
Aug 1, 2012
Messages
29
Hi there
Does anyone know how to autofit height of merged cells please?
Many thanks
Renee
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
If you mean in VBA, then I would think that
Code:
ActiveSheet.Rows(1).Autofit
would work. You have to do the whole row, but it does autofit vertically.
 
Upvote 0
Renee
You can't auto fit the row height of merged cells.
When I have columns merged, which I try very hard to avoid, but sometimes on forms it is the only way to go, I will have column to the right that is the same width as the total width of the merged columns . In that column will be a formula that picks up the value in the merged columns and that cell will be set to auto row height, making the row the appropriate height for the merged columns. The best solution, by far is not to merge cells.
I hope this helps.
Ken
 
Upvote 0
Renee
You can't auto fit the row height of merged cells.
When I have columns merged, which I try very hard to avoid, but sometimes on forms it is the only way to go, I will have column to the right that is the same width as the total width of the merged columns . In that column will be a formula that picks up the value in the merged columns and that cell will be set to auto row height, making the row the appropriate height for the merged columns. The best solution, by far is not to merge cells.
I hope this helps.
Ken
Amen to the avoid merging.
 
Upvote 0

Forum statistics

Threads
1,226,693
Messages
6,192,468
Members
453,726
Latest member
JoeH57

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top