什么是excel online office.js javascript lib中用户定义函数的替代方案

时间:2016-06-06 17:36:23

标签: office-js office-2016 custom-functions-excel

我正在尝试开发office excel加载项,类似于我在2013年办公室使用的加载项。因为我使用的是使用“VBA”创建的用户定义函数,并且可以获取单元格中的数据。

我的优势是 1.如果我关闭我的excel文件并再次打开它,我可以刷新该功能,它将获取最新数据。

我希望实现类似的目标,

让我知道如何使用office js apis实现这一点,我知道excel online不支持用户定义的功能

2 个答案:

答案 0 :(得分:1)

社群已要求Microsoft考虑通过Excel和Office Developer Platform UserVoice页面实现此功能;

https://officespdev.uservoice.com/forums/224641-general/suggestions/6936956-add-user-defined-function-support-to-the-apps-for

https://excel.uservoice.com/forums/274580-excel-online/suggestions/10243059-support-udf-user-defined-function-in-excel-online

其中一个似乎已经开始了,所以我们很快就会在Office Javascript API中看到这个功能!

答案 1 :(得分:1)

Excel中的JavaScript自定义函数现在可在开发者预览版中找到,任何人都可以尝试:https://aka.ms/customfunctions

-Michael,PM加载项

相关问题