EnterCell(RowNo,5,Format("Item No."),FALSE,FALSE,FALSE);and the value of Item No is 5-7056.
EnterCell(RowNo : Integer;ColumnNo : Integer;CellValue : Text[250];lvBold : Boolean;Italic : Boolean;UnderLine : Boolean TempExcelBuffer.INIT; TempExcelBuffer.VALIDATE("Row No.",RowNo); TempExcelBuffer.VALIDATE("Column No.",ColumnNo); TempExcelBuffer."Cell Value as Text" := CellValue; TempExcelBuffer.Formula := ''; TempExcelBuffer.Bold := Bold; TempExcelBuffer.Italic := Italic; TempExcelBuffer.Underline := UnderLine; TempExcelBuffer.INSERT;
Comments
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
Thanks. It is corrected. but I still didn't understand why it as like that even though i have used he format and the cell value was in text.