Forum Discussion
peiyezhu
Mar 14, 2023Bronze Contributor
Re: Excel for Web, Office Scripts: TypeScript/ExelScript Event Listener Support
I have exploded all api of excel.script and found NO anwser.
If you want to interactive function, script lab may useful.(https://learn.microsoft.com/en-us/office/dev/add-ins/tutorials/excel-tutorial?source=recommendations)
If you want to interactive function, script lab may useful.(https://learn.microsoft.com/en-us/office/dev/add-ins/tutorials/excel-tutorial?source=recommendations)
5 Replies
- terryAnastassiadisCopper Contributor
Thanks for looking into it and your alternative recommendation! Add-ins where my next line of investigation so it's reassuring to get your suggestion. Much appreciated 👍
- peiyezhuBronze ContributorYou are welcome.
below for your reference
https://learn.microsoft.com/zh-cn/javascript/api/excel/excel.worksheet?view=excel-js-preview#excel-excel-worksheet-onfiltered-member
onSelectionChanged
在特定工作表上更改所选内容时发生。
readonly onSelectionChanged: OfficeExtension.EventHandlers<Excel.WorksheetSelectionChangedEventArgs>;
事件类型
OfficeExtension.EventHandlers<Excel.WorksheetSelectionChangedEventArgs>- Michael-RussCopper Contributor
link to the English version of the reference page shared by peiyezhu above, rather than the Chinese:
https://learn.microsoft.com/en-us/javascript/api/excel/excel.worksheet?view=excel-js-preview#excel-excel-worksheet-onfiltered-member