Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Custom Filters

Jan Havlíček edited this pageJan 4, 2024 ·3 revisions

Important

This page is obsolete and no longer being actively maintained. Please refer to pageAutoFilter atdocs.closedxml.io for the latest information.

CustomAutoFilter1.jpg

CustomAutoFilter2.jpg

CustomAutoFilter3.jpg

CustomAutoFilter4.jpg

varwb=newXLWorkbook();varws=wb.Worksheets.Add("AutoFilter");// Add a bunch of strings to filterws.Cell("A1").SetValue("Strings").CellBelow().SetValue("B").CellBelow().SetValue("C").CellBelow().SetValue("C").CellBelow().SetValue("E").CellBelow().SetValue("A").CellBelow().SetValue("D");// Add filtersws.RangeUsed().SetAutoFilter().Column(1).Between("B","D");// Sort the filtered listws.AutoFilter.Sort(1,XLSortOrder.Descending);wb.SaveAs("AutoFilter.xlsx");

FAQ

Examples

Real world scenarios

Time Savers

Performance and Memory

Misc

Inserting Data/Tables

Styles

Ranges

Rows

Columns

Page Setup (Print Options)

AutoFilters

Comments

Dev docs

Clone this wiki locally


[8]ページ先頭

©2009-2025 Movatter.jp