Grouping Rows c# with ExcelPackage

Topics: User Forum
Sep 16, 2010 at 5:31 PM

Hello all.

 

I'm trying to make a code to group(Collapse) rows, but I didn't find de solution. somebody could help me ?

here is the code.

 

FileInfo oldFile = new FileInfo(@"C:\Template.xlsx");
FileInfo newFile = new FileInfo(@"C:\New.xlsx");
using (ExcelPackage xlPackage = new ExcelPackage(newFile, oldFile)) {

ExcelWorksheet worksheet = xlPackage.Workbook.Worksheets[1];

    // Code to collapse or group the rows.

    xlPackage.Save();

}

 

 

Apr 9, 2013 at 6:59 PM
Hi ccortiz,

I am facing the same problem, couldn't find anything which allows me to gropu rows through excelpackage (ooxml). Could you let me know if you have found solution for this problem?