Quantcast
Channel: ClosedXML - The easy way to OpenXML
Viewing all articles
Browse latest Browse all 1877

New Post: Add datatable in customstarting cell range

$
0
0
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!

Viewing all articles
Browse latest Browse all 1877

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>