Text Format while using Automation for Excel

smitapandasmitapanda Member Posts: 4
Hi All,

I am developing one report in Automation for Excel.

I am facing problem for printing Item No in excel which start with a 0(zero). for example - 07023001,03028029,03002001 etc.

i have already used '@' fot text format.Also used FORMAT for the cell value.But the excel output shows the item nos without the firts 0 in excel.Example- 7023001,3028029,3002001 etc.

My code is - Printcell(Index,RowNo,FORMAT("Sales Invoice Line"."No."),1,0,false,'@');

Please help what to do.....Thanks in advance !!

Comments

Sign In or Register to comment.