通过MS Excel WebApp中的Office脚本的单元事件监听器

问题描述

在Excel WebApp(Office 365)中,可以通过“自动”选项卡放置Office脚本,该选项卡使用JavaScript语法,可以像VBA宏一样自动执行excel,但是对于excel WebApp(屏幕快照) )。

如何为特定单元格(如A1)创建事件监听器。
(一种情况是:如果更改了单元格A1的内容/值,请在单元格B1中写一些内容

Screenshot of the excel webapp with office-scripts-code-editor opened

解决方法

Office脚本尚不支持事件。 您可以通过以下链接提供功能反馈:

https://excel.uservoice.com/forums/274580-excel-for-the-web?category_id=143439