Hi all,
I have a report which has a print to Excel functionality. I have a column which is of type text but the text is too long and it is not displaying well.
The output is as such:
35686E+14
and I have used the function FORMAT..
Please help if there are some built-in functions to display the text correctly.
I have also tried the AutoFit functionality mention on:
http://dynamicsuser.net/forums/p/51484/ ... spx#266312
Also, I tried this out: xlWorksheet.Range('A'+ FORMAT(intRowNo)).Value :=FORMAT(myvalue);
I have also placed this near ''' + 'FORMAT(myvalue) but it is not working.
But still not solved my problem.
Thanks
Liizz
Comments
the above statement should be like
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
It's the 'ol 4 single quotes that work
EnterCell(Row, 2, ''''+Item."Item UPC/EAN Number", FALSE, FALSE, FALSE);
Your code has 3 try 4.
http://www.BiloBeauty.com
http://www.autismspeaks.org
xlWorksheet.Range('A'+ FORMAT(intRowNo)).Value :=''''+FORMAT(myValue);
But on the cell, a '(single quote is being displayed as well)
The value is as follows: '3595704000203
How to truncate it?
Thanks
Liizz
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav