AutoFit row height in Excel through DotNet in Excel Buffer???

TiwazTiwaz Member Posts: 98
edited 2017-03-06 in NAV Three Tier
Hello dear experts.
I am quite desperate.
I have been trying to make the above thing work for 3 days now and still nothing.
I need the row to widen if there is more text and narrow down if there is less text.
I cannot find the right function to do this job for me.
I tried XlWrkShtDotNet.Rows(RowsFrom + ':' + RowsTo).AdjustToContents;
but this one narrows the row to be wide enought to fit one line of text.

PLEASE HELP :(
Thanks

Answers

Sign In or Register to comment.