I have a lot of VBA/VSTO excel addins based on ability to define user's selected chartobjects, such as chart, series and point. Is there analog of function getSelectedRange but for chartobject in Office JS API. Thanks
Asked
Active
Viewed 75 times
0

Eugene Astafiev
- 47,483
- 3
- 24
- 45
-
There's an event. Maybe you can set a global variable that contains the selected chart (or something) when that event is fired. https://learn.microsoft.com/en-us/javascript/api/excel/excel.chart?view=excel-js-preview#excel-excel-chart-onactivated-member – Skin Apr 20 '22 at 23:31