I need to set the row height of specific rows, starting at Row 33 and ending at Row 2208, with the offset of each row from the last being 29.
It must only perform the row height change if there is a value in the previous cell in column B.
i.e.
Set Row Height for Cells B33, B62, B91, B120, B149,........B2208 = 40, If the cell before it has a value (text string) -->B32, B61, B90, B119, B148........B2207 = "Text String"
But, If the cell before it has no text string value (has formula but blank), skip the row height change for that row.
Hope that makes sense.
Can anyone provide VBA code to achieve this please?
Thanks
It must only perform the row height change if there is a value in the previous cell in column B.
i.e.
Set Row Height for Cells B33, B62, B91, B120, B149,........B2208 = 40, If the cell before it has a value (text string) -->B32, B61, B90, B119, B148........B2207 = "Text String"
But, If the cell before it has no text string value (has formula but blank), skip the row height change for that row.
Hope that makes sense.
Can anyone provide VBA code to achieve this please?
Thanks