Format of a text variable- Output to ExcelHi all, I have a

liizzliizz Member Posts: 125
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

Sign In or Register to comment.