I am using EPPlus version 3.1.3 to create a spreadsheet, and I want to hide all columns from column L to column XFD and all rows from the bottom row to the end. I am trying to hide columns using:
for (int i = 12; i <= 16384; i++) { worksheet.Column(i).Hidden = true; }
This happens forever, although you need to run for this cycle. Does anyone know an alternative way to hide a large number of columns? I also don't know how to hide lines.
I am wondering if there is another solution outside of EPPlus, but I really do not want to add another library to it.
source share