Forum Discussion

rfinguer's avatar
rfinguer
Copper Contributor
Oct 24, 2023

Office Script in Sharepoint taking too long to run with buttons

Hello,

 

I have a simple script in Excel online in Sharepoint 365 but is taking too long to run with buttons.

Runs faster when I just run the code.

 

Code:

function main(workbook: ExcelScript.Workbook) {
  // Check if the "Data" worksheet exists.
  workbook.getWorksheet("Home").activate();
}

 

I don't know what I have to do to fix this.

No RepliesBe the first to reply

Resources