Measurement Computing   Easy to Use | Easy to Integrate | Easy to Support catalog banner

How to export data directly from a C#/VB.NET program to Excel.

Expand / Collapse
 

How to export data directly from a C#/VB.NET program to Excel.


Attached to this article are examples showing how to export data directly to Excel from a C# (CSharp) or VB.NET application.

They demonstrate the following:

  • Discover the device without having to use InstaCal.
  • Open Excel and create a worksheet.
  • Read a voltage value and write it to a cell.
  • Close Excel when the program terminates.

Requirements:  InstaCal 6.51 or greater must be installed and you have to have a Measurement Computing device. InstaCal can be found on our MCC DAQ CD image which is located on the following web page: http://www.mccdaq.com/software.aspx



Rate this Article:

Attachments


VBNETtoExcel.zip VBNETtoExcel.zip (13.58 KB, 551 views)

CSharpToExcel.zip CSharpToExcel.zip (11.87 KB, 518 views)

Add Your Comments


For comments email TechSupport@mccdaq.com.

Details
Article ID: 50613

Last Modified:8/30/2016 11:04:03 AM

Article has been viewed 1,874 times.

Options