It looks like you're new here. Sign in or register to get started.
XlRange1.WrapText := true;
XlRange1 := XlWrkSht.Range(RangeName); XlRange1.WrapText := True;
ExcelBuf.NewRow; ExcelBuf.AddColumn(,,,.....,,,......,,,); //whatever applies for you ExcelBuf.StartRange; ExcelBuf.AddColumn(,,,.....,,,......,,,); ExcelBuf.AddColumn(,,,.....,,,......,,,); ExcelBuf.EndRange; ExcelBuf.CreateRange('RangeForWrappingText'); ExcelBuf.wrap('RangeForWrappingText'); //.................. //.................. your code
Comments
Technical Consultant, MS Dynamics NAV
Thanks
Mrigya
(Excel automation)
Technical Consultant, MS Dynamics NAV
Parameter
RangeName --- Text --- 50
Local variable to function
Name --- DataType --- Subtype
XlRange1 ---Automation --- 'Microsoft Excel 11.0 Object Library'.Range
In wrap(RangeName : Text[50]) function
So now your function is ready.. O:) you just need to use it.
Just an example on how to use the function.....
now you see the output.
I hope It helps you.... :P
Technical Consultant, MS Dynamics NAV