Hi, I have to filter some excel rows based on on cell value like if the coloumn value,ID 1, i need to display all rows ID is not equal to 1
is there anything like this??
excelRange.AutoFilter(9, cellvalue !="1", Excel.XlAutoFilterOperator.xlFilterValues, Type.Missing, true);
Sujeet RamanPosted Sep 8, 2021, 3:02 PM
Sujeet RamanPosted Sep 8, 2021, 3:00 PM
Ganesan CPosted Sep 8, 2021, 2:55 AM
Leon DPosted Sep 8, 2021, 1:08 AM
Hi,
You can install Free Spire.XLS library to achieve this.
First, install it via nuget.
https://www.nuget.org/packages/FreeSpire.XLS/
Second, add the following code: