Click here to Skip to main content
15,354,205 members

Comments by LesF (Top 1 by date)

LesF 7-Jun-16 3:33am View
   
You should look at the Office API for .Net, as what you really want is to get an instance of a Excel worksheet object and use it's methods and properties.

Your code will look almost the same as the VB code, as you will be using a very similar API. Try the Microsoft guides first, they often have good examples, such as:

[How to automate Microsoft Excel from Microsoft Visual C#.NET]