Skip to content

Tag: office-js

Store word context objects in variable

Exploring word add-ins world. Want to create a list of paragraphs and navigate to each by click on it(some kind of table of content) Like that: I have created code(on reactjs, but it does not matter which framework to use) When I click on any button the callback is invoked, no errors in console, but the navig…

Excel Add-in: How to create a range?

I am writing an Excel add-in in JavaScript. What I need to do is find the currently selected cell, then create a range object that is 4 columns wide and X rows high, with the selected cell at the top left of the selection. I know how to find the currently selected cell, but I don’t know how to either