This project needs a new caretaker!
As much as I hate to admit it, I can't give this project the love it deserves (paying the bills has a slightly higher priority). If you have the time and want to take care of ClosedXML then send me a message (People tab). Big thanks to everyone who has contributed over the years.---------------------
Please don't ask questions on the comments section of the documentation pages because Codeplex doesn't send notifications for them. Please use the discussion tab instead. Thanks.
Requirements:
To use ClosedXML you must reference the following DLL: DocumentFormat.OpenXml.dll (part of MS Open XML SDK 2.0)FAQ
How do I deliver an Excel file in ASP.NET?Does it support Excel 2003 and prior formats (.xls)?
How can I insert an image?
Text with numbers are getting converted to numbers, what's up with that?
How do I get the result of a formula?
Examples
Showcase - No nonsense example of how to use this APIBasic Table
Hello World - Proverbial hello world program
Real world scenarios
Finding and extracting the dataTime Savers
Simplifying your life...Performance and Memory
Turning off eventsBetter lambdas
Where to use the using keyword
Other performance improvements
Misc
Data Types - How to handle and convert cell's data types (Text, Boolean, DateTime, Numeric)Creating Multiple Worksheets
Organizing Sheets
Loading and Modifying Files
Using Lambda Expressions
Cell Values
Workbook Properties
Using Formulas
Evaluating Formulas- New
Creating Rows/Columns Outlines
Hide Unhide Row(s)/Column(s)
Freeze Panes
Copying Worksheets
Using Hyperlinks
Data Validation
Hide Worksheets
Sheet Protection
Tab Colors
Conditional Formatting
Pivot Table example
Inserting Data/Tables
Copying IEnumerable Collections - Using "cell.Value = collection"Inserting Data - Using "cell.InsertData(collection)"
Inserting Tables - Using "cell.InsertTable(collection)"
Adding DataTable as Worksheet
Adding DataSet
Styles
Styles - AlignmentStyles - Border
Styles - Fill
Styles - Font
Styles - NumberFormat
NumberFormatId Lookup Table
Style Worksheet
Style Rows and Columns
Using Default Styles
Using Colors
ClosedXML Predefined Colors
Excel Indexed Colors
Using Rich Text
Using Phonetics
Ranges
Defining RangesMerging Cells
Clearing Ranges
Deleting Ranges
Multiple Ranges
Shifting Ranges
Transpose Ranges
Named Ranges
Accessing Named Ranges- New
Copying Ranges
Using Tables
Sorting Data
Selecting Cells and Ranges
Rows
Row Height and StylesSelecting Rows
Inserting Rows
Inserting and Deleting Rows
Adjust Row Height and Column Width to Contents
Row Cells
Columns
Column Width and StylesSelecting Columns
Inserting Columns
Inserting and Deleting Columns
Adjust Row Height and Column Width to Contents
Column Cells
Page Setup (Print Options)
Pages TabPaper Size Lookup Table
Margins Tab
Headers and Footers Tab
Sheet Tab
Print Areas and Page Breaks
AutoFilters
Adding an AutoFilter to a RangeFilter Values
Custom Filters
Comments
VisibilityPosition
Signatures
Style - Alignment
Style - Colors and Lines
Style - Size
Style - Protection
Style - Properties
Style - Margins
Style - Web