Issue with Excel Add-In Code: Timeout Error

Nirogini Albertjanstin 0 Reputation points
2024-03-27T06:32:12.9166667+00:00

Our Excel add-in code is now getting a timeout error while updating cells in sheets exceeding 3500 rows. Despite smooth operation before, this issue has surfaced suddenly. We are investigating the root cause and working towards resolving it to restore full functionality to our Excel add-in. We welcome any suggestions or insights. Thanks in advance!

    Excel.run(function (context) {
        var sheet = context.workbook.worksheets.getActiveWorksheet();
        var rangeValues = [];
        resultColumnCells.forEach((element, index) => {
        rangeValues.push(sheet.getRange(element));
        let data = [dataArray[index]];
        rangeValues[index].values = data;
        rangeValues[index].format.autofitColumns();
	})
        return context.sync();
    }).catch(function (errorHandlerFunction) {
        console.error(errorHandlerFunction.code);
        console.error(errorHandlerFunction.message);
    });
Microsoft 365 and Office | Development | Other
Microsoft 365 and Office | Excel | For business | Windows

1 answer

Sort by: Most helpful
  1. AXRO Felix 0 Reputation points
    2026-08-05T07:36:19.52+00:00

    Good Day,

    ist there any update on this problem? We are still facing the same problem .

    Best regdars

    Felix

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.