If you just want to get started as quickly as possible, and have a recent Visual Studio version, you can:* Create a new
VB.NET or C# "Library Project"
* Install the "Excel-DNA" package from NuGet (either from the NuGet GUI or by running "Install-Package Excel-DNA" in the Package Manager Console).
* Copy the sample snippet for your language from the Readme.txt file that appears.
* Press F5 and run.
The NuGet package sets everything up, so you don't have to fiddle with the .dna files or anything yourself, and the debugging works too.
To then add a reference to the interop library, which helps with talking to the COM object model, you can install the "Excel-DNA.Interop" NuGet package.
-Govert