Hello,
I have a spreadsheet, unfortunately I cannot share the file (I know this may make this a little more complicated), where I have used a table from 'Table Styles' and record information.
I have a VBA so that certain tasks are carried out when I save the file; removing filters, hidding columns, setting widths.
I am trying to 'autofit' the rows and most work but every now and then a row doesn't autofit and two lines are squeezed into row height for single line. All cells are set to 'wrap text' through cell formatting, not through VBA coding.
This is the code that I am using for the sheet;
Can anyone help. I have tried searching for a way of looking at the number of lines in the row and setting the row height based on that.
Thank you.
Bookmarks