Im creating an xlsx file using EPPlus and wants to have autofilters for all headers. I installed autofilters as follows:
worksheet.Cells["A3:G" + (3 + data.Count).ToString()].AutoFilter = true;
This works exactly for one content table. However, I have two separate tables on one sheet, and when I try to set autofilters for the second, autofilters for the first disappear.
Any known workarounds for this or other suggestions?
Hans petter naumann
source share