Skip to content

#BUSY! flashing in excel every time a function is invoked #437

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
mwilk-drw opened this issue Mar 13, 2025 · 4 comments
Open

#BUSY! flashing in excel every time a function is invoked #437

mwilk-drw opened this issue Mar 13, 2025 · 4 comments
Labels
Needs: triage 🔍 New issue, needs PM on rotation to triage ASAP

Comments

@mwilk-drw
Copy link

Expected behavior

I expect to not see the #BUSY! error every time a function is invoked with a changing input. I'd like to either see the previous value until a recalculation completed or the new value to be returned quickly enough that it's not as noticeable.

Current behavior

Every time a function is recalculated with a new input, #BUSY! is flashing across all the values. This makes the custom functions unusable with inputs that change frequently.

See attached clip for a demonstration: https://github.com/user-attachments/assets/139e12b0-d048-487c-a704-fcb979bc224d

Steps to Reproduce

Create a spreadsheet with a changing value (eg. the increment function from the sample project), and pass this value in to a custom function implemented in typescript, either the existing add function or something even simpler. Eg.

/**
 * Echoes a number.
 * @customfunction
 * @param first The number to echo.
 * @returns The number.
 */
export function echo(first: number): number {
  return first;
}

Invoked in the spreadsheet with a cell reference of the increment:
=UPXL.ECHO(B3)

Context

  • Operating System: Windows 10 Enterprise 22H2 build 19045.5487
  • Node version: v22.14.0
  • Office version: MS Office LTSC Professional Plus 2021
  • Tool version: Excel Version 2108
  • "generator-office": "version": "3.0.1"
  • "yo": "version": "5.1.0"

Failure Logs

No errors in the OfficeAddins.log.txt:

3/13/2025 13:24:00 Medium CustomFunctions [Execution] [Async] [End] [Success] Function=ECHO, Workbook=Excel add-in 407248da-0b4e-4409-aa2f-ed4d328610af.xlsx
3/13/2025 13:24:00 Medium CustomFunctions [Execution] [Async] [End] [Success] Function=INCREMENT, Workbook=Excel add-in 407248da-0b4e-4409-aa2f-ed4d328610af.xlsx
3/13/2025 13:24:00 Verbose CustomFunctions [Execution] [Async] [Begin] Function=UPXL.ECHO, Workbook=Excel add-in 407248da-0b4e-4409-aa2f-ed4d328610af.xlsx
3/13/2025 13:24:00 Medium CustomFunctions [Execution] [Async] [End] [Success] Function=ECHO, Workbook=Excel add-in 407248da-0b4e-4409-aa2f-ed4d328610af.xlsx
3/13/2025 13:24:00 Medium CustomFunctions [Execution] [Async] [End] [Success] Function=INCREMENT, Workbook=Excel add-in 407248da-0b4e-4409-aa2f-ed4d328610af.xlsx
3/13/2025 13:24:00 Verbose CustomFunctions [Execution] [Async] [Begin] Function=UPXL.ECHO, Workbook=Excel add-in 407248da-0b4e-4409-aa2f-ed4d328610af.xlsx

@millerds
Copy link
Contributor

@millerds millerds transferred this issue from OfficeDev/generator-office Mar 14, 2025
@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs: triage 🔍 New issue, needs PM on rotation to triage ASAP label Mar 14, 2025
@mwilk-drw
Copy link
Author

mwilk-drw commented Mar 14, 2025

Thanks @millerds . I followed the steps "Automatically clear the cache" in Excel, and upon restarting the issue persist as before.

I also found issue #372 , which seems related. I attempted various suggestions from that discussion and they didn't address the issue either. What's surprising is that @donlvMSFT mentions "on desktop version the performance is much better" - but I am on desktop and what I see is not usable.

In case it's relevant, my Windows.Storage.OneCore.dll is version 10.0.19041.4355.

@millerds
Copy link
Contributor

Do the manual cache deletion.

@mwilk-drw
Copy link
Author

Thanks, I followed the steps: Deleted %LOCALAPPDATA%\Microsoft\Office\16.0\Wef\ and confirmed %userprofile%\AppData\Local\Packages\Microsoft.Win32WebViewHost_cw5n1h2txyewy\AC\#!123\INetCache\ doesn't exist. I shut down Excel and Webpack -> npm run build -> npm run start.
I observed no improvement.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs: triage 🔍 New issue, needs PM on rotation to triage ASAP
Projects
None yet
Development

No branches or pull requests

2 participants