我是开发 excel 插件的新手,因此需要调用 excel 函数。我浏览了几个文档,但没有找到详细信息。
以下是我的示例代码:
async function run() {
try {
await Excel.run(async context => {
// Code for invoking a excel function
await context.sync();
});
} catch (error) {
console.error(error);
}
}
请提供有用的指南或让我知道如何从任务窗格调用自定义函数。