Skip to main content
Filter by
Sorted by
Tagged with
1 vote
2 answers
92 views

We're using Excel JS API to get changed on worksheets. Is there an event to get new named cells? The only way that I see is to store the named cell collection (using NamedItemCollection) & compare ...
FlorentS's user avatar
0 votes
1 answer
56 views

I am working on an Outlook add-in for Exchange On-Premise accounts using Office JS, but since Exchange On-Prem only supports Office JS ≤ 1.5, many Office JS APIs are unavailable for certain tasks. As ...
Vivek 's user avatar
  • 11
0 votes
0 answers
86 views

i've spent hours researching without success. We have an outlook addin that uses the on-behalf-of flow by using the getAccessToken() function. For this we used office.js, not the MSAL library. Since ...
sebastien's user avatar
0 votes
0 answers
82 views

Per organization policies, I can't develop Excel add-ins. I can use Office Scripts, but there are no event handlers for Excel objects via this API. Is there any use and/or is it even possible to ...
namgaw's user avatar
  • 1
0 votes
1 answer
75 views

I have a Word DOCX with several Content Controls in it which I want to access via JS. For this, I have the following routine: await Word.run(async (context) => { const doc = context.document; ...
ak2002's user avatar
  • 1
0 votes
0 answers
61 views

I want to have a addin that loops through the paragraphs in a document, does an API call to a translation service, returns a new paragraph, and inserts this into word again. I have gotten it to do ...
Sindre's user avatar
  • 1
-1 votes
1 answer
168 views

I am developing Outlook add-ins (formerly Apps for Office) and have successfully deployed them globally for my Office 365 tenant and individually via Settings > Manage Add-ins. However, the add-ins ...
Shahzad Umar's user avatar
0 votes
0 answers
90 views

Working on Outlook Add-in to control ItemSend Event in order to modify message and/or attachments before its sent. It does not trigger event handler to read message that was sent using MessageChild ...
Mani's user avatar
  • 65
0 votes
1 answer
105 views

I am really struggling to understand why my task pane is not showing up in Microsoft word. The button to trigger the taskPane appears under "AddIns" as expected but clicking it does not open ...
fersarr's user avatar
  • 3,541
0 votes
0 answers
97 views

I am trying to create an Office 365 Addin using Angular v19 and MS Excel for a simple modal dialog example. I believe I have installed the appropriate dependencies: package.json @types/office-js @...
user978139's user avatar
0 votes
1 answer
67 views

I have an MS. Office Excel add-in and I use it via sideloading of the manifest.xml file. it works and everything is good, until recently I've noticed that there are some issues when users try to ...
yossico's user avatar
  • 3,531
1 vote
0 answers
106 views

enter image description here When loading my excel add-in, I see that office.js gets blocked from the edge browser inside of excel, see screenshot. How to prevent this from happening? I tried to time ...
bhomas32's user avatar
0 votes
1 answer
94 views

I am creating an office-js Excel Add-In and I want to have a custom tab on the ribbon bar. On this custom tab, I want the "Calculation" group from the Formulas tab to appear in this custom ...
James Pickles's user avatar
0 votes
1 answer
34 views

Is there a direct way of selecting a specific tab in the ribbon using the Word JavaScript API? (Specifically, the Review tab.) I don't see anything in the Ribbon or Tab pages of the API documentation. ...
Peter Dongan's user avatar
  • 2,308
1 vote
1 answer
99 views

When testing our Outlook web add-in last week, we started seeing this warning when our add-in tries to close a message being composed: Our add-in retrieves all the information of a message to later ...
hlaliberte's user avatar
0 votes
0 answers
21 views

We are currently developing a PowerPoint content add-in and have encountered an unusual behavior during presentation mode. When a slide containing the add-in is displayed for the first time, it ...
Zenima's user avatar
  • 390
0 votes
0 answers
35 views

I'm developing an excel add-in plugin which has some custom functions. I'm guessing due to the size of formula.js file (16MB) excel fails to completely fetch and resolve the custom functions and ...
Viren Lakum's user avatar
0 votes
0 answers
51 views

await Word.run(async (context) => { const document = context.document; const body = document.body; const paragraphs = body.paragraphs; paragraphs.load({ $all: true }); ...
Rathan Kumar's user avatar
0 votes
0 answers
77 views

I have an Add-in created for Outlook Web which adds headers to emails in order to send them securely. It operated both through Task Pane and on the OnSend functionality of Outlook Web. When pressing ...
Victor Calarasu's user avatar
0 votes
1 answer
73 views

I'm new to Office Add-ins so this might be a trivial mistake. For this Typescript React Add-in I have created a Context Menu Extension Point that on click is supposed to run a custom function ...
Alfons's user avatar
  • 15
0 votes
1 answer
99 views

I'm writing an outlook add-in and need to create a new email with displayNewMessageForm and add an attachment. The problem is the URL to the attachment is protected so I need to download the file and ...
S Huff's user avatar
  • 116
1 vote
0 answers
65 views

I am building a word add-in, one of the main functions is that it can insert comments in specific parts of the document. The whole thing works well when used in locally installed Word, but as soon as ...
Mayank saini's user avatar
-1 votes
1 answer
187 views

Can you help me, how can i return a function in office script that returns an array with: a mail, and 2 array of row ranges: the return i need is (if possible ) [["[email protected]"],["...
David Ricardo Menacho Vadillo's user avatar
0 votes
0 answers
63 views

My Excel addin webpack.config.js file line const urlProd has a comment // TODO: CHANGE THIS TO YOUR PRODUCTION DEPLOYMENT LOCATION. I'm not sure if this should point to my taskpane.html on my blob ...
TomH2oThermo's user avatar
0 votes
0 answers
34 views

We are looking for a way to add a non-contextual addin to our Outlook for mobile OfficeJs plugin. This is a screenshot of some possible places: Notice that there is a Youtube app which is a 3rd party ...
RaniDevpr's user avatar
  • 410
0 votes
1 answer
55 views

I have developed an Office JavaScript Excel add-in that provides live product pricing using custom streaming functions. The office add-in javascript-only function is designed to log errors in a file ...
Kishan Vaishnani's user avatar
1 vote
0 answers
35 views

Is it possible to operate OneDrive files, without downloading them? (like in google script) In google script, to find a file in a google drive folder, and then open it as document, you do this: const ...
EugeneZ's user avatar
  • 11
0 votes
1 answer
116 views

When building Excel Office Web Add-Ins, a manifest.xml file is required to describe the service. Here is a simple one that opens a Taskpanel in Excel: <?xml version="1.0" encoding="...
Chris C.'s user avatar
  • 1,001
1 vote
0 answers
35 views

I am currently using the compare() function to compare two files, and when the changes appear on the Word side, I want to use getTrackedChanges() to retrieve those changes. However, when I log it ...
if357's user avatar
  • 21
0 votes
0 answers
38 views

I have a custom function file (functions.js), which is used to define the functions, but also at the end of the file, I call the following code Office.initialize = async function () { console.log(&...
Morty's user avatar
  • 21
1 vote
0 answers
68 views

I’m building an Excel add-in using the Office JavaScript API. I have custom formulas like =PMPBK(...) that work fine if I rely on Excel’s @customfunction approach. The user sees the formula in the ...
benjamin shtainberg's user avatar
1 vote
0 answers
31 views

I'm trying to write an addin that takes a formula, parses it and then calculates the value of the formula. This all works for formulas that do not use ranges as we can use the Excel.Functions class to ...
David van Deursen's user avatar
0 votes
0 answers
83 views

I have a Word document that contains Custom XML Parts, and it works perfectly when opened in the Desktop version of Word. Using Office.js, I can successfully retrieve the XML parts with the following ...
Zen Lang's user avatar
  • 172
0 votes
0 answers
23 views

I have a simple function on context menu option clicked which gets passed the active cell address, eg: F81, from the user and inserts a row below. export const insertRowBelow = async (address) => { ...
henry434's user avatar
  • 107
0 votes
0 answers
63 views

I am trying to add a basic textbox/Geometric shapes into the PowerPoint on click of a button (using Microsoft Add-ins) . I am going through this document provided by Microsoft - Text in shapes. It ...
akaparadox's user avatar
0 votes
0 answers
52 views

I am currently developing an Outlook add-in designed to send phishing and spam reports using the makeEwsRequestAsync method. However, I am encountering a persistent error: 'The remote server returned ...
shahzad Umar's user avatar
0 votes
0 answers
86 views

Tried running office.js I am using react js Tried accessing sourcelocation default value after build but got the above error while doing so. Got similar issue for style sheet as well. Refused to load ...
dev_aks's user avatar
0 votes
0 answers
59 views

How can I multiple the selected range in Excel using Office Script by 1? I'm trying to use the Excel trick of converting dates and numbers that aren't dates and numbers into being so by multiplying by ...
bozo88's user avatar
  • 11
0 votes
0 answers
40 views

I am implementing a precision editing feature for my Microsoft Word Add-in, but can't figure out how to edit a part of a range without making changes to the entire range. For example I can get each ...
George van Heerden's user avatar
0 votes
0 answers
33 views

We are building a web-based, JavaScript Outlook Add-In which is required to call Microsoft Graph APIs to access the Outlook's user's emails and attachments. The authentication process is being ...
suraj sinha's user avatar
0 votes
0 answers
38 views

We are building a web-based, JavaScript Outlook Add-In which is required to call Microsoft Graph APIs to access the Outlook's user's emails and attachments. The authentication process is being ...
suraj sinha's user avatar
0 votes
0 answers
39 views

I’m working on developing my first Add-In for Outlook 365/Windows 10. In theory, it’s quite simple—it’s a drop-down menu with two options. Each option opens a new email and loads a different template, ...
adumith's user avatar
  • 13
0 votes
0 answers
37 views

I’ve been exploring ways to access and manipulate metadata in PowerPoint, particularly Custom Properties. While I’ve come across the option to use Tags, they don’t seem to integrate well with Office-...
alehandraxx9's user avatar
0 votes
0 answers
57 views

My vs code debugger is not recognizing any breakpoints, nor is it logging any console.log messages. The web inspector is working, but the vs code debugger is not. I've tried editing launch.json and ...
murphyk4's user avatar
0 votes
1 answer
82 views

I'm developing a PowerPoint web add-in using Office.js and am having difficulty changing the color of an icon inserted into a slide. The icon is in SVG format, but I can't access the required ...
Ankit Shrivastav's user avatar
0 votes
1 answer
82 views

I hope you are well. I am facing a strange issue in Office.JS API for PowerPoint. My purpose is simple, I want to draw a diagonal line (front up), but I cannot. In the below pic, you can see it's top-...
Aman Dhally's user avatar
0 votes
1 answer
102 views

I have developed Outlook Add-ins and released it in production. Everything is working fine as expected. However in the past few days, there are unexpected behaviors, after clicking Send button, Add-...
alfi's user avatar
  • 400
0 votes
0 answers
50 views

I am redirecting user to the microsoft web page from my react app and passing extra query params with it (myValue) something like oneDrive.live.com/extraCode/Doc.aspx?resid=A&cid=B&myValue=...
akaparadox's user avatar
2 votes
0 answers
95 views

I'm trying to implement Nested App Authentication to transition my outlook add-in away from using legacy exchange tokens. I'm successfully able to get a valid graph API token, but only accompanying ...
user1938392's user avatar
1 vote
0 answers
46 views

I'm using the Office.js client API to add a custom property key to a Word document through context.document.properties.customProperties. However, when I export the document to OOXML format using ...
Davide Bono's user avatar