Test in production without watermarks.
Works wherever you need it to.
Get 30 days of fully functional product.
Have it up and running in minutes.
Full access to our support engineering team during your product trial
The Python Excel Library
from ironxl import *
# Supported for XLSX, XLS, XLSM, XLTX, CSV, and TSV
workbook = WorkBook.Load("sample.xlsx")
# Select worksheet at index 0
worksheet = workbook.WorkSheets[0]
# Get any existing worksheet
first_sheet = workbook.DefaultWorkSheet
# Select a cell and return the converted value
cell_value = worksheet["A2"].IntValue
# Read from ranges of cells elegantly.
for cell in worksheet["A2:A10"]:
print("Cell {} has value '{}'".format(cell.AddressString, cell.Text))
# Calculate aggregate values such as Min, and Sum
total_sum = worksheet["A2:A10"].Sum()
In this tutorial, we explore how to create Excel files in C# using the IronXL library, compatible with the .NET 6 framework. Begin by installing IronXL via the NuGet Package Manager. Import the library into your program and create a workbook using Workbook.Create
. Customize your sheet by naming it and assigning values or formulas to specific cells. Format cells by adjusting border styles, background colors, and font styles. IronXL allows for formula integration, mimicking Excel's functionality, and provides sheet protection features to prevent unauthorized editing. Save your workbook locally through the Save As
function. Run the project to generate an Excel file reflecting your code instructions. IronXL streamlines Excel operations without requiring Microsoft Excel or Excel Interop on your server. For further assistance, the support team is available to help.
Version: 2025.4
> pip install IronXL
30-day Trial Key instantly.
15-day Trial Key instantly.
Your trial key should be in the email.
If it is not, please contact
support@ironsoftware.com
pip install IronXL-2025.4-py37-none-win_amd64.whi
Have a question? Get in touch with our development team.
No credit card required
Your trial key should be in the email.
successfully.
If it is not, please contact
support@ironsoftware.com
No credit card required
Get started for FREE
No credit card required
Test in production without watermarks.
Works wherever you need it to.
Get 30 days of fully functional product.
Have it up and running in minutes.
Full access to our support engineering team during your product trial
No credit card or account creation required
Your trial key should be in the email.
If it is not, please contact
support@ironsoftware.com
Get started for FREE
No credit card required
Test in production without watermarks.
Works wherever you need it to.
Get 30 days of fully functional product.
Have it up and running in minutes.
Full access to our support engineering team during your product trial
Licenses from $749. Have a question? Get in touch.
10 .NET API products for your office documents