Add items dynamically to a context menu using office js in Excel?

Jayme Bandeira 26 Reputation points
2021-06-16T16:30:19.887+00:00

Is it possible to add items to a Context Menu at runtime using office js in Excel? I can only seem to be able to do it through the manifest.

I found this question on StackOverflow from not too long ago, but couldn't find any related questions in this forum.
https://stackoverflow.com/questions/65633600/offie-js-word-web-add-in-possible-add-dynamically-menu-items

Microsoft 365 and Office | Development | Office JavaScript API
Microsoft 365 and Office | Development | Other
0 comments No comments
{count} votes

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.