Forum Discussion
gunner-b
Nov 20, 2021Copper Contributor
Autofit Row Height when sorting
When a worksheet contains rows with different heights, I would expect those heights to be automatically adjusted during a sort of the rows in that sheet. Alas, this appears to not be the case (At least I haven't been able to make that happen). Can I make that happen?
- gunner-bCopper ContributorI experimented on an excel worksheet with rows of different heights and inserted a variety of objects (pictures, text boxes, etc,) and, sure enough, when I resorted the rows, autofit did not function. I also tried reformatting the objects . . . no luck! I'm satisfied. Thanks for looking at this with me.
- NikolinoDEGold Contributor
I am pleased that you are satisfied, I hope to see you again in the future here in the forum.
Welcome to your Excel discussion space!Also wish you have fun with Excel.
- NikolinoDEGold Contributor
You can manually adjust the column width or row height or automatically resize columns and rows to fit the data.
Change the column width or row height in Excel
Additional Information:
Change the column width and row height
Hope I was able to help you with this info.
NikolinoDE
I know I don't know anything (Socrates)
- gunner-bCopper ContributorThanks for your help. I guess I'm just to lazy to want to do it manually.
- NikolinoDEGold Contributor
Here automatic adjustment with VBA on all cells
See the attached file with examples where you can try it out yourself.Enjoy excel