Skip to footer content
IronXL Logo for .NET

Start Your IronXL
Free Trial Instantly

  • Create and edit excel files formulas, charts, & images
  • Style cells, borders, fonts, and add hyperlinks
  • Compatible with XLSX, XLS, CSV, TSV, XML, & DataTables
  • Free 30-day trial, full features, no credit card
Trial key

Get your free 30-day Trial Key instantly.

Your trial license will be sent to this address

Check icon No credit card or account creation required

Test Icon

Test in a live environment

Test in production without watermarks.
Works wherever you need it to.

Functional Icon

Fully-functional product

Get 30 days of fully functional product.
Have it up and running in minutes.

Support Icon

24/5 technical support

Full access to our support engineering team during your product trial

Load Excel Files without Interop
using IronXL;
using System;
using System.Linq;

// Supported for XLSX, XLS, XLSM, XLTX, CSV and TSV
WorkBook workBook = WorkBook.Load("sample.xlsx");

// Select worksheet at index 0
WorkSheet workSheet = workBook.WorkSheets[0];

// Get any existing worksheet
WorkSheet firstSheet = workBook.DefaultWorkSheet;

// Select a cell and return the converted value
int cellValue = workSheet["A2"].IntValue;

// Read from ranges of cells elegantly.
foreach (var cell in workSheet["A2:A10"])
{
    Console.WriteLine("Cell {0} has value '{1}'", cell.AddressString, cell.Text);
}

// Calculate aggregate values such as Min, Max and Sum
decimal sum = workSheet["A2:A10"].Sum();

// Linq compatible
decimal max = workSheet["A2:A10"].Max(c => c.DecimalValue);
Imports IronXL
Imports System
Imports System.Linq

' Supported for XLSX, XLS, XLSM, XLTX, CSV and TSV
Private workBook As WorkBook = WorkBook.Load("sample.xlsx")

' Select worksheet at index 0
Private workSheet As WorkSheet = workBook.WorkSheets(0)

' Get any existing worksheet
Private firstSheet As WorkSheet = workBook.DefaultWorkSheet

' Select a cell and return the converted value
Private cellValue As Integer = workSheet("A2").IntValue

' Read from ranges of cells elegantly.
For Each cell In workSheet("A2:A10")
	Console.WriteLine("Cell {0} has value '{1}'", cell.AddressString, cell.Text)
Next cell

' Calculate aggregate values such as Min, Max and Sum
Dim sum As Decimal = workSheet("A2:A10").Sum()

' Linq compatible
Dim max As Decimal = workSheet("A2:A10").Max(Function(c) c.DecimalValue)
Install-Package IronXL.Excel

Explore the code and run it to see the sample.

World-Class Engineering,
24-Hour Support
  • Support Team Member 2 related to Start Your IronXL 
Free Trial Instantly
  • Support Team Member 4 related to Start Your IronXL 
Free Trial Instantly
  • Support Team Member 6 related to Start Your IronXL 
Free Trial Instantly
  • Support Team Member 7 related to Start Your IronXL 
Free Trial Instantly
  • Support Team Member Iron related to Start Your IronXL 
Free Trial Instantly
Talk to an Expert

Iron Support Team

We're online 24 hours, 5 days a week.
Chat
Email
Call Me