Closed Jason-Chieh-Lee closed 5 months ago
Hi guys,
Has there been any updates on this issue?
Hi @Jason-Chieh-Lee, I can not repro it. I have generated a Custom Functions Add-in project using yo office and choosing TypeScript. I run this project on Excel Desktop that is using IE11. The basic custom function =CONTOSO.ADD(1,2) is working as expected.
May I know how you config your Excel to use IE11 but not Chromium-based browsers?
I followed the instructions here in Microsoft's tutorial https://docs.microsoft.com/en-us/office/dev/add-ins/testing/ie-11-testing#install-a-version-of-office-that-uses-internet-explorer
and installed a version that uses IE 11 for example 16.0.13127.21668. Was the version I provided above not running IE 11?
If that's the case, then the version I ran above also does not work.
Another one of my questions is are there supposed to be additional steps we had to take in order to run things on IE 11? Or should generating a Custom Function using yo generator supposed to be compatible with IE 11 right out the box?
Furthermore, could it be an issue with configuring the addin to use a shared runtime?
@Jason-Chieh-Lee I am also using a shared runtime and making a custom function that does a webrequest never responds.
I'm trying to create an Office Addin with Custom Functions. I've generated the addin+custom functions using Yeoman generator and choosing to use Typescript. I can confirm that the custom functions work with Excel versions that run Chromium based browsers. However the functions do not work on Excel versions that run Internet Explorer 11, they are permanently stuck in a #BUSY state.
For Excels with IE 11, the taskpane loads/is rendered correctly, it's just the custom functions that don't work. I am testing the custom functions by using the default provided ones like ADD and LOG, which both get stuck in #BUSY for IE 11. Note that the function names do show up (if I start typing,
=CONTOSO.ADD(
does autocomplete. It's when I try and run it that it gets stuck. Any help is appreciated, thank you!My Environment
Expected behavior
I expected custom functions to work correctly for Excel even if the browser uses IE 11.
Current behavior
Taskpane loads correctly, but all custom functions get stuck in #BUSY for Excel browsers that use IE 11.
Steps to reproduce
Provide additional details
I read in the docs that we might have to use Babel to support IE 11. I can post my package.json and webpack.config.js configurations that uses Babel. Please let me know if I'm doing anything wrong.
My webpack.config.js has the following:
My package.json has the following:
and at the bottom of the package.json, I also have this:
My babel.config.json looks like this:
Context
Trying to build an Excel Office Addin with custom functions that is able to run on as many versions of Excel as possible.