i am trying to do like what's like in the attached file.
I would like to group columns so that the report would look like the image at the bottom of the attached picture.
this is how my code looks like but nothing is happening when i run the application. the columns are not grouped.
Workbook excel = new Workbook();
reportpath = FMConfiguration.GetAppSetting("ExcelReportPath").ToString();
excel.Open(reportpath"_dummy" + ".xls");
Worksheet worksheet = excel.Worksheets[0];
//Make gridlines visible.
worksheet.IsGridlinesVisible = true;
//Freeze panes
worksheet.FreezePanes(3, 5, 3, 5);
---=====some other formatting codes====---
worksheet.Cells.GroupColumns(5, 6, true);
---====code for saving the file====---
the codes were taken from the original file and not based on the attached file..i just made the attached file in excel for a clear example of what i want to do.
Thanks :D