Home » excel » office js – How to show range selection input dialog in excel using officejs

office js – How to show range selection input dialog in excel using officejs

Posted by: admin May 14, 2020 Leave a comment

Questions:

I want to show range selection dialog box, something as shown in below image from my office addin, When user click on range input box in my office addin, i want it shows following dialog, what are the options available today using officejs.

enter image description here

How to&Answers:

they only way you currently can do this today is by using the Bindings API which will allow you to show a ref-edit prompt in Excel.

https://docs.microsoft.com/en-us/javascript/api/office/office.bindings?view=excel-js-1.9#addfrompromptasync-bindingtype–callback-