My goal is to Split an excel workbook such that there is only one sheet per Excel workbook.
I have created the 2 office scripts as shown in the resource.
The issue is -
The second script (Deletesheets.osts) does not run in powerautomate and it gives me this error:
You can see here the code I am using for the office script is the same from the video
A- code used in video.
B- office script code I am using.
I would appreciate help from this community, since I have been breaking my head on this task since last week.
Appreciate your time and help in advance.
Thanks.