I want to use this method
wb.Worksheets.Add(dataTable, "Data")
but I need to add the date range in the first 2 cells of my xml. I tried to add the datatable, copy the whole data a couple of cells below, but I lose the sorting function in the excel.
How can I add the dataTable in another location? Or how can I move a range of cells without losing the sorting header cell?
Thank you a lot!
wb.Worksheets.Add(dataTable, "Data")
but I need to add the date range in the first 2 cells of my xml. I tried to add the datatable, copy the whole data a couple of cells below, but I lose the sorting function in the excel.
How can I add the dataTable in another location? Or how can I move a range of cells without losing the sorting header cell?
Thank you a lot!