From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Example Code

ADO DataPlugin - Example Connecting to Excel

    Other

  • ADO, Excel

Code and Documents

Attachment

Description

DataPlugin Example showing how to use ADO for reading / importing MS Excel or MS SQL data.

ADO is a COM interface created by Microsoft for accessing Excel files and Microsoft SQL databases. This DataPlugin example shows how Excel data can be read.
You can adjust the DataPlugin to read any ADO capable source data.

 

File Extension:  *.XLS; *.MDB
Direction:  Read / ---
Last Change:  November 09, 2006

Related Links

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.

Contributors