Hi Juan,
Thank you for contacting Syncfuison support.
Kindly try below code to preserve the number preceding with 0’s as text.
Code Example:
sheet.Range["A1"].Text = "0041123";
sheet.Range["A1"].NumberFormat = "@";
sheet.Range["A1"].IgnoreErrorOptions = ExcelIgnoreError.NumberAsText; |
Please let us know if you have any concerns.
Regards,
Abirami