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

Filter Values

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

Important

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

RegularAutoFilter1.jpg

RegularAutoFilter2.jpg

RegularAutoFilter3.jpg

varwb=newXLWorkbook();varws=wb.Worksheets.Add("AutoFilter");// Add a bunch of strings to filterws.Cell("A1").SetValue("Numbers").CellBelow().SetValue(2).CellBelow().SetValue(3).CellBelow().SetValue(3).CellBelow().SetValue(5).CellBelow().SetValue(1).CellBelow().SetValue(4);// Add filtersws.RangeUsed().SetAutoFilter().Column(1).AddFilter(3).AddFilter(1).AddFilter(5);// Sort the filtered listws.AutoFilter.Sort(1);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