When I write a file with this code automatically occupies a "general" format to write it, the problem is that if I want to write numbers that start with 0 this automatically omits, for example if I want to write 0123445 I will 12345 as I can write the cell with a specific format from c #
Excel.Application archivoxlsx = new Microsoft.Office.Interop.Excel.Application();
Excel.Workbook libro = archivoxlsx.Workbooks.Open("c:/Users/Edgar/Desktop/base/Libro1.xlsx", 0, false, 5, "", "", false, Excel.XlPlatform.xlWindows, "", true, true, 0, true, false, false);
Excel.Worksheet hoja = (Excel.Worksheet)libro.Worksheets.get_Item("Hoja1");
hoja.Cells[v,h] = cadena;
libro.Save();
libro.Close();