如何使用Office.js更改Excel StatusBar消息?

时间:2018-09-11 15:57:08

标签: excel ms-office office-js

我试图找出如何使用office.js Excel加载项在excel中更改状态消息。我不认为这太难了,但似乎找不到。

1 个答案:

答案 0 :(得分:0)

这不能通过Office.js以编程方式完成。一种可能的选择是在加载项本身上吐司。我们有一个可以使用的辅助函数,它看起来像:

async function run() {
    await Excel.run(async (context) => {

        OfficeHelpers.UI.notify("Whatever text you need");

        await context.sync();
    });
}

也请在我们的https://officespdev.uservoice.com/

中投票/创建新请求