Ability to get Excel comment cell reference directly using Office.js
Is it possible to get Excel comment cell reference directly using Office.js?
Right now there is no reference regarding the cell the comment is written into.

1 comment
-
Thanks Luca, You can use getLocation() to get the Range object, then you can get the cell reference form range
getLocation(): Excel.Range;
you can find the document at https://docs.microsoft.com/en-us/javascript/api/excel/excel.comment?view=excel-js-preview#getlocation--