# How can read local excel from designer?

**URL:** <https://forum.inductiveautomation.com/t/how-can-read-local-excel-from-designer/113651>\
**Category:** Ignition\
**Created:** [January 30, 2026, 5:13am UTC](https://forum.inductiveautomation.com/t/how-can-read-local-excel-from-designer/113651 "2026-01-30T05:13:38Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![JVDM](https://avatars.discourse-cdn.com/v4/letter/j/ac8455/32.png) [@JVDM](https://forum.inductiveautomation.com/u/JVDM)\
**Post date:** [January 30, 2026, 8:31am UTC](https://forum.inductiveautomation.com/t/how-can-read-local-excel-from-designer/113651/8 "2026-01-30T08:31:28Z")

</div>

I assumed your Script Console scope would be gateway, and your button would be designer/client. My assumption was wrong. Just to test, you could try this code in a button as well, and see if the scopes are the same.

I see you have blurred out your filepath. [This thread](https://forum.inductiveautomation.com/t/filepath-in-script/11112) is \> 10 years old, but might be relevant.

Option 1:

> [@Filepath in script](https://forum.inductiveautomation.com/t/filepath-in-script/11112/2):
>
> Backslashes are special in python (and C, and Java, and …). You need to double them up in string constants.

Option 2:

> [@Filepath in script](https://forum.inductiveautomation.com/t/filepath-in-script/11112/3):
>
> Or change \ to / and let the file system deal with it…

---

_[View the full topic](https://forum.inductiveautomation.com/t/how-can-read-local-excel-from-designer/113651)._
