I have a template in Excel in which some Cells are formated to date. My Problem is that the Excel Cell isn't correctly updated after my code is executed.
globalTemplateSheet.Cells[3, 13].Value = "01." + date.Month + "." + date.Year;
I read something about Style.Numberformat.Format but the Excel Range never gets updated
Cell L3 is correct, Cell M3 should be the same, but to get the same as L i have to use the button "Enter" Picture
How can i format this Cell with the right Date.