-
Notifications
You must be signed in to change notification settings - Fork 116
Description
When a new excel book is opened, the new workbook reloads the addin to Excel. At the same time, functions across all workbooks are recalculated. During this recalculation period, there's a 10-20% chance the addin crashes. The more excel books that are open and the more functions that are running per excel book, the higher the chance.
This is causing major issues in our organization. The crash disables the addin across all Excel books. And then the addin tries to reload per book, slowing down performance of everything. So users are losing functionality of the addin, and degrading their Excel experience.
This is replicable with a completely clean install of the addin, and using CONTOSO.CLOCK() replicated on an excel spreadsheet. Details outlined below.
Your Environment
- Platform: PC Windows Desktop
- Host: Excel
- Office version number: 2511 (Build 19426.20218)
- Operating System: 11
- Node version: v24.12.0
- Npm version: 11.7.0
- Yo Office Generator version: 6.0.0
Expected behavior
Addin should not crash across all excels when a new book is opened.
Current behavior
Addin is crashing across all excels when a new book is opened.
Steps to reproduce
- Install node, npm and Yo office generator as per versions above
- Using Yo and run
yo office - Create a new project for
Excel Custom Functions using a Shared Runtime - Start up the addin using
npm run build:dev,npm run dev-server, andnpm run start - Download the attached spreadsheet clock.xlsx, which has 3000 calls to the default CONTOSO.CLOCK() function clock - Copy.xlsx
- Make 30 copies of the clock spreadsheet.
- Open each spreadsheet in quick succession (1 every second), leaving all previous spreadsheets open.
- Check back on some of your excel files and should see this error at the bottom with all cells showing #VALUE!
