I want to open the 'Insert Hyperlink' menu programmatically without right clicking the cell.
this link shows the way to achieve this in vba, is there a similar way for opening hyperlink menu in Excel office Add-in?
CodePudding user response:
There is not yet an Office JS API similar to the Application.Dialogs API in VBA that can be used by an add-in to open Excel dialogs. Please consider logging a request for this API in the Microsoft 365 Developer Community.
An alternative might be to have the add-in provide UI similar to the Insert Hyperlink dialog either in the task pane or in a dialog.