0

我是开发 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);
}
}

请提供有用的指南或让我知道如何从任务窗格调用自定义函数。

4

1 回答 1

0

I've found the guide office-js which helped me to solve my problem. Thanks for all who ever responded.

于 2021-03-04T14:46:40.473 回答