Hi All,
I am trying to import a csv file which has a few number columns defined as text with Comma in values "12,356.34" which eventually is imported as Text string and not Number when trying to save as Excel.
Have tried all following flags to no avail.
application.DefaultVersion = ExcelVersion.Excel2013;
workbook.Worksheets[0].UsedRangeIncludesFormatting = false;
destinationRange.NumberFormat = "###.##";
destinationRange.NumberFormat = "0";
The output excel is getting "12,356.34" as text string in the output column Please suggest to get the numbers
"12,356.34"
as numbers 12356.34 in the columns.
thanks & best regards,
Pav