Auto resize row height to fit with content?


#1

how can i do this?

auto resize row height to fit with content

i tried to use this

MyStyle.IsTextWrapped = True

but the row didnt resize to fit the content , in other words the second line in the row is hidden

what i can do to solve this?

thanks in advance


#2

Please try to use Worksheet.AutoFitRow method.