Home > Net >  Office AddIn Excel custom function not run correct
Office AddIn Excel custom function not run correct

Time:11-25

I am trying to implement Excel addin custom functions.

First, I refer this doc enter image description here

How can I run a custom functions in excel?

CodePudding user response:

Custom Function can also run normally without shared runtime, switch to shared runtime may not help to resolve your first issue.

For the first issue: the custom function auto generated add did not show up when I type in Excel cell., if the function name cannot show up, that means this function failed to register. One possible reason is the namespace conflict. You can try to change this namespace in the manifest.xml,

enter image description here

and rerun following command to see if it helps:

npm run build 
npm run start:desktop

For the second issue, I cannot repro the error in webpack window. If you can give me more details (e.g. excel version, repro video, logs(https://docs.microsoft.com/en-us/office/dev/add-ins/testing/runtime-logging)), maybe I can reporo and help to solve it.

Thanks,

Rundong

  • Related