How can read local excel from designer?

Thanks for sharing this insight.

Try running the code from this forum page in your script console.
It will tell you whether your script is executed in the Client scope (1), designer scope (2) or gateway scope (0).

If you’re running code in the gateway scope, the console is reading the file on the gateway’s PC, and your designer script is reading the file on your local PC.