row autofit not working

soccerlemon

New Member
Joined
Feb 13, 2003
Messages
2
Excel 97--Okay, I know that row autofit won't work when there are merged cells in a row, and some have suggested that the row autofit doesn't work with various vertical alignment settings. However, I have no merged cells in the row, and I have tried every vertical alignment setting, and still nothing will autofit the row. I checked the exact height and it is still less than the 409 point maximum. So, I am at the end of my rope. I can't figure out what it is that is preventing the autofit row command from functioning. I can resize the row manually, but I shouldn't have to. I would be so happy if anyone can shed some light on this for me.
 
How do you merge the two rows, without doing it manually in each column? Do you have a macro for that too?


Solution:Step one - add an extra row and merge the twoStep two - create a macro either in a button/label/sheet to instruct through VBARows("145:146").SelectRows("145:146").EntireRow.AutoFitI use this a lot. Came across the solution by chance.It's pain to add the extra row...but I've never come up with anything else.
 
Upvote 0

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying

Forum statistics

Threads
1,215,473
Messages
6,125,018
Members
449,203
Latest member
tungnmqn90

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