How open a workbook from excel office script
Hello,
I'd like to process SEVERAL workbooks in the same folder of the web excel file where I'm running the script (excel office script) to consolidate information from several sources however, I couldn't find a way to do it since the Workbook object doesn't have an Open method or similar.
Any suggestion?
1 additional answer
Sort by: Most helpful
-
Nancy Wang 116 Reputation points Microsoft Employee
2021-08-25T01:06:10.757+00:00 Hi Raul! Your question reminds me of a sample scenario we've included in our documentation - see here: https://learn.microsoft.com/en-us/office/dev/scripts/resources/samples/automate-tasks-on-all-excel-files-in-folder. Could you let me know if this fits what you're looking for?
-Nancy from the Office Scripts team