F
facmanboss
I use VBA macros to custom sort a range of columns and rows. All the cells
are set to WrapText. In one of the columns, each cell has data that makes the
cell height variable depending on what data resides in that cell (hence
Wraptext), thus row height variable. After sorting using the VBA macro, The
pre-existing cell heights don't change to match the wrapped text.
I have tried manually AutoFit and also AutoFit the range rows in the code
without success. Here is the weird part.
If I add a manual line feed to the data just as a test, AutoFit will resize
properly on sorting.
Any ideas?
Thanks,
facmanboss
are set to WrapText. In one of the columns, each cell has data that makes the
cell height variable depending on what data resides in that cell (hence
Wraptext), thus row height variable. After sorting using the VBA macro, The
pre-existing cell heights don't change to match the wrapped text.
I have tried manually AutoFit and also AutoFit the range rows in the code
without success. Here is the weird part.
If I add a manual line feed to the data just as a test, AutoFit will resize
properly on sorting.
Any ideas?
Thanks,
facmanboss