Hi, thank you for the reply Yutao. However, I think that it would not work, as I cannot find the way to open an excel file from an office script written into another excel file.
I mean: I may prepare "file1" with the office script and put it on SharePoint or OneDrive.
Then I receive "file2" via e-mail; this file, which is the one I'd like to read automatically, does not contain any script and cannot be modified. I save "file2" into the same path of "file1". Up to this point everything is fine.
Then, I should be able to read some content of "file2" (for example, one specific cell) having programmed the office script of "file1": is it possible? That's what I'm searching for.
On the other hand, from what I see on the internet it seems that an office script can "act" only on the file where it is written. It's just self-referring to itself, but cannot be used to get data from another excel file. In other words, I need to carry out a "cross-workbook" operation.
Thanks.