Home > Software engineering >  Open 'Insert Hyperlink' menu in Excel office Add-in
Open 'Insert Hyperlink' menu in Excel office Add-in

Time:11-10

I want to open the 'Insert Hyperlink' menu programmatically without right clicking the cell.

https://stackoverflow.com/questions/48985342/open-insert-hyperlink-menu-in-excel-through-a-clickable-shape#:~:text=Application.Dialogs(xlDialogInsertHyperlink).Show

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.

  • Related