In Solution Explorer for your project, right click References and "Add Reference"
In "Add Reference" dialog, click Browse
Go to your NativeExcel.NET installation directory
Select: VS2003/Bin/NativeExcel.dll (for Visual Studio 2003, .NET Framework version 1.1.) VS2005/Bin/NativeExcel.dll (for Visual Studio 2005, .NET Framework version 2.0.)
Click Open and OK to add the reference to NativeExcel.dll
In the "Using" namespace section at the start of your code, add:
[C#]
using NativeExcel;
Add your NativeExcel-related code
VB.NET - Getting started
Start Microsoft's Visual Studio .NET
Open/Create your project
In Solution Explorer for your project, right click References and "Add Reference"
In "Add Reference" dialog, click Browse
Go to your NativeExcel.NET installation directory
Select: VS2003/Bin/NativeExcel.dll (for Visual Studio 2003, .NET Framework version 1.1.) VS2005/Bin/NativeExcel.dll (for Visual Studio 2005, .NET Framework version 2.0.)
Click Open and OK to add the reference to NativeExcel.dll
In the "Imports" namespace section at the start of your code, add: