How to Fix Excel JavaScript Add-In Custom Functions Stuck on BUSY
Question details
The user needs to resolve an issue where thousands of Excel JavaScript custom-function formulas remain stuck in a BUSY state during recalculation.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- Using an Excel JavaScript add-in with over 3,500 custom-function formulas loaded in a single workbook.
- Observed behavior
- Formulas remain in a BUSY state indefinitely, recalculation fails to complete, and debugging breakpoints are never reached.
Ensure you have saved a backup of your workbook and note down the names of any other task-pane add-ins you currently have active in Excel.
Remove Conflicting Task-Pane Add-ins
Clear out other task-pane add-ins that might be interfering with the Office.js web runtime environment.
Office.js add-ins run in a shared web-based runtime. Having multiple task-pane add-ins active simultaneously can cause conflicts, overwhelm system resources, and prevent your custom functions from executing properly.
Open your affected workbook in Excel. Navigate to 'File', click on 'Info', select 'Check for Issues', and then click 'Inspect Document'.
In the Document Inspector dialog box, scroll down to ensure 'Taskpane Add-ins' is checked, then click 'Inspect'.
Once the inspection is complete, click 'Remove All' next to the Taskpane Add-ins section. Restart your JavaScript add-in to see if the functions resume working.

Optimize Custom Function Calls
Reduce the computational load on the Office.js runtime to prevent overwhelming the recalculation engine.
Try WPS Office for Smooth Spreadsheet Management
If you are frequently dealing with heavy Excel workbooks and runtime calculation limits, WPS Office offers a lightweight, highly compatible alternative. Its optimized architecture handles large datasets and extensive formulas with ease.
- 1. Download WPS Office: Visit the official WPS Office website and download the free installation package for your operating system.
- 2. Install the Application: Run the installer and follow the on-screen instructions to set up WPS Office on your device.
- 3. Open Your Spreadsheets: Launch WPS Spreadsheets and open your existing .xlsx files directly. Enjoy seamless formula support and fast calculations.

Frequently Asked Questions
Why do my Excel custom functions show as BUSY?
This usually happens when a large volume of custom-function calls (e.g., thousands of complex formulas) overwhelms Excel's recalculation engine and the shared web-based Office.js runtime, causing it to hang.
Can I use VBA instead of JavaScript add-ins to prevent this freezing?
While VBA can process calculations efficiently natively, JavaScript Office Add-ins are necessary if your add-in needs to run across multiple supported platforms (like macOS or Excel on the Web), whereas VBA is strictly limited to desktop environments.
How can I check runtime logs for Office.js add-ins?
You can inspect errors and monitor performance by attaching web developer tools (like hitting F12 in Windows) to the add-in task pane, allowing you to review the console output and network activity.




