# Using the neoVI API in Excel - neoVI API

To use the intrepidcs API in Excel or other VBA supported application add the [`bas_neoVI.vb`](https://cdn.intrepidcs.net/guides/neoVIDLL/_downloads/eff7ce57dd442e09675a9d786b865bb4/bas_neoVI.zip) module into your project (figure 1) by right clicking on the Project in the VBA Editor and selecting Insert and then Module. Open the bas\_neoVI.vb. Then, call the methods as defined in the [Basic Operation](/neovi-api/basic-operation-intrepidcs-api.md) document. The function calls for use in VBA are the same as the calls in Visual Basic 6.

![Figure 1 - Add Module Command From the VB.NET Menu.](/files/8BjyQtlGTPE8bRJIjstk)

### Example

A VBA Excel example (Figure 1) is included to show how the API all works together. This project only has 1 file, NeoVIExample.XlS. Make sure macros are enabled to run this example. All the needed project files are included in the following file: [`ExcelVBA.zip`](https://cdn.intrepidcs.net/guides/neoVIDLL/_downloads/a815dd1e75dd46669e998dd430a764ce/ExcelVBA.zip)

The example shows how to open and close communication to the driver, send messages and read messages on the networks.

![Figure 2 - The VBA Excel Example.](/files/05xeFToQQmpCtR5TiWjB)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.intrepidcs.com/neovi-api/basic-operation-intrepidcs-api/using-the-intrepidcs-api-in-excel-intrepidcs-api.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
