# Using API in VBA

**URL:** <https://forum.inductiveautomation.com/t/using-api-in-vba/85722>\
**Category:** Ignition\
**Created:** [February 14, 2024, 10:21pm UTC](https://forum.inductiveautomation.com/t/using-api-in-vba/85722 "2024-02-14T22:21:40Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Faz](https://avatars.discourse-cdn.com/v4/letter/f/85e7bf/32.png) [@Faz](https://forum.inductiveautomation.com/u/Faz)\
**Post date:** [February 14, 2024, 10:21pm UTC](https://forum.inductiveautomation.com/t/using-api-in-vba/85722/1 "2024-02-14T22:21:40Z")

</div>

Will I be able to use an API in VBA in Ignition WebDev module? Or does the API need to be compatible with Python?  
Currently, we use this VBA API in MSAccess file to make calls to an ERP system (ECI Max). Any suggestions are much appreciated.

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [February 14, 2024, 10:26pm UTC](https://forum.inductiveautomation.com/t/using-api-in-vba/85722/2 "2024-02-14T22:26:07Z")

</div>

I assume you have some kind of DLL or other library you're currently interacting with in VBA?

No, the code you write in the WebDev module, or in any other scripting area in Ignition, is Python/Jython.

---

<div class="post-metadata">

**Author:** ![Faz](https://avatars.discourse-cdn.com/v4/letter/f/85e7bf/32.png) [@Faz](https://forum.inductiveautomation.com/u/Faz)\
**Post date:** [February 14, 2024, 10:39pm UTC](https://forum.inductiveautomation.com/t/using-api-in-vba/85722/3 "2024-02-14T22:39:25Z")

</div>

I'm not super sure what library it's interacting with. It was made by our IT team ages ago.

Thank you and I guess I'll have to ask our ERP vendor for an API call in Python.

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [February 14, 2024, 10:40pm UTC](https://forum.inductiveautomation.com/t/using-api-in-vba/85722/4 "2024-02-14T22:40:44Z")

</div>

> [@Faz](#):
>
> API call in Python.

Better that you ask for an API call in **Java** , or you will have to run a separate Python process as middleware.

---

<div class="post-metadata">

**Author:** ![Faz](https://avatars.discourse-cdn.com/v4/letter/f/85e7bf/32.png) [@Faz](https://forum.inductiveautomation.com/u/Faz)\
**Post date:** [February 14, 2024, 11:00pm UTC](https://forum.inductiveautomation.com/t/using-api-in-vba/85722/5 "2024-02-14T23:00:29Z")

</div>

Oh ok. Thank you!
