excel - Execute both custom function and commands function in a shared runtime using office js
问题描述
I have built an Excel Addin using Excel JS API. The addin generates a custom function, so I have followed the instructions provided here so that I can create the required shared runtime environment. Now I would like to add a button on the Ribbon of xsi:type="ExecuteFunction"
I know that in general I have to specify the FunctionFile resource to point to commands.html and there (command.js)implement my function which will actually just open a link on a browser. It will be a help/manual button. But the configuration suggests that we should update FunctionFile resid to point to functions.html instead of commands.html. I have tried to make it this way but it does not work on Excel Desktop App. It only works on Excel Online.
Is there a workaround for this, so that I can keep my working custom function and trigger a function/command from a ribbon button?
解决方案
iPad 或一次性购买的 Office 2019 或更早版本目前不支持 Excel 自定义函数。
推荐阅读
- c - 每次调试时变量的地址是否会改变
- javascript - 在发送到服务器之前打开文件以在浏览器中查看/操作数据
- r - 替换所有字符串大于 X 的观测值
- ios - 在 IOS 项目中使用 Xamarin.Auth 登录不起作用
- python - osmnx get_nearest_edges 函数结果不清楚哪个键
- flutter - 当我向服务器发布请求时发生 HttpException,如下所示
- html - Bootstrap 4:如何使用媒体查询更改文本的字体大小
- reactjs - 如何从我的网站向其他网站提交值?
- swiftui - SwiftUI 中 .compositingGroup() 的目的是什么?
- c++ - 使用类模板模拟 FIFO 的 C++ 程序,出队时返回值 3221225477