Skip to main content
Filter by
Sorted by
Tagged with
0 votes
2 answers
69 views

I am trying to open a presentation in MS- PowerPoint. I have created a add-In for it. It has a button which will retrieve the file on click of a button from s3 and then it will upload the file into ...
akaparadox's user avatar
0 votes
1 answer
86 views

I'm developing an Excel Add-In using the latest npm version of the JavaScript API and I'm encountering an issue with the latest Excel API set (1.16) functionality. I’m trying to access the valueAsJson ...
Maximilian Sieber's user avatar
1 vote
1 answer
74 views

I was directed to ask this question in this forum from here. We are developing an Excel Add-in in Javascript and want to understand the API better. Our application needs to store data in a way ...
Devon Fulcher's user avatar
0 votes
1 answer
52 views

Is it possible to reopen the already open file by discarding unsaved changes using office JS. According to the office API we don't have any open method. https://learn.microsoft.com/en-us/office/dev/...
Amira Muzaffar's user avatar
0 votes
1 answer
217 views

I'm working on an Excel add-in using Office JavaScript API, and I'm facing an issue with writing data to multiple cells using a custom function that I add dynamically during runtime. It seems that the ...
dakapitan's user avatar
0 votes
1 answer
140 views

I want to access layout count which are present in slide master. const slideMaster = context.presentation.slideMasters.getItem(0).layouts;
Amira Muzaffar's user avatar
1 vote
3 answers
618 views

We want to extract all shape of an opened PowerPoint document from an add-in. We haven't found much documentation on how to use the API for PowerPoint specifically (this is all we found). We did able ...
Amira Muzaffar's user avatar
1 vote
1 answer
120 views

I am new to the Advanced Formula Environment. I have created the one testing function using Advanced Formula Environment. I want to get that formula name using office JS. I have tried the following ...
Shiv Yadav's user avatar
1 vote
2 answers
614 views

I am using compareDocuments function to compare two documents and returning compared document as a byte array as response to front end , I don't know how to convert this byte array and open it as word ...
yatin tripathi's user avatar
0 votes
0 answers
48 views

The excel javascript API can request data from an external service as outlined here: https://learn.microsoft.com/en-us/office/dev/add-ins/excel/custom-functions-web-reqs However, imagine a UDF that ...
Georg Heiler's user avatar
  • 17.9k
2 votes
0 answers
706 views

In Ms articles they describe how to set the Excel cell color via JavaScript API. await Excel.run(async (context) => { let sheet = context.workbook.worksheets.getActiveWorksheet(); let ...
serge's user avatar
  • 15.4k
1 vote
1 answer
355 views

TL;DR - By default, a custom functions add-in registered with Excel is available, but not running, when Excel loads. It only gets run if one of its custom functions is used (or if it has a task pane ...
T.J. Crowder's user avatar
0 votes
1 answer
157 views

Is it possible to show a message (just a warning the user can dismiss) from code in a custom function without using a task pane? (And without making it the return value of the function.) Something ...
T.J. Crowder's user avatar
0 votes
2 answers
406 views

I have multiple contentConrols in a table and trying to implement hide/display feature. While hide - taking getOoxml() of the ContentControl inside the table and deleting it. While Display - ...
satish526's user avatar
1 vote
0 answers
171 views

For large Word documents its impossible to get all the text at once. For 100+ pager, doing so crashes the extension. Is there a recommended or canonical approach to break down the document? One ...
James's user avatar
  • 2,834
-1 votes
1 answer
163 views

In VBA, It's posssible to reference an open instance of word (using GetObject(Class:="Word.Application") in order to manipulate documents (.Documents) using the word object reference, even ...
PurpleSkyHoliday's user avatar
1 vote
1 answer
79 views

some time ago(unfortunately I can not say how long exactly) I start to get an issue with the charts function - here is an example from script lab which exactly reproduces what I have in my project: ...
Viktor AV's user avatar
2 votes
2 answers
778 views

this topic is related to persons who developing excel add-ins using javascript api. https://learn.microsoft.com/en-us/office/dev/add-ins/excel/excel-add-ins-ranges#get-the-selected-range How can I ...
Łukasz Zadworny's user avatar
1 vote
2 answers
994 views

I've found this https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API to allow javascript to access the local file system. I feel really dumb, but I can't find anywhere that talks ...
nardstorm's user avatar
0 votes
1 answer
565 views

I am developing word office add-in.I need to load word javascript API based on microsoft version available. example:-If office version is 2016 i need to load Word API version 1.1 If it is 2019 i need ...
samyuktha's user avatar
0 votes
1 answer
270 views

I am working on Word web-in using office.js. I have a requirement like when I load the document on word if user makes any strikeThrough or Underline in the document.Need to retrieve the value whether ...
samyuktha's user avatar
1 vote
0 answers
549 views

We have developed a WOPI Host that serves Word and Visio files to the Wopi Client (Which is Office for the web). We have been trying hard to see if we can get "shape info" of the shapes in ...
Srikanth Naropanth's user avatar
2 votes
2 answers
2k views

I have an excel js add-in with custom functions, some of them should return date and here I have a problem: I can format and display this date as a string but in this case, I can't use this date as a ...
Viktor AV's user avatar
0 votes
2 answers
863 views

When using Office.js to retrieve the body of an email that has inline attachments, we receive HTML like this: <div> <div dir="ltr"> <div style="color:black;font-size:12pt;font-family:...
markdon's user avatar
  • 891
1 vote
1 answer
165 views

I'm working on an Outlook AddIn I need to get the body of the message while user composing the mail. I know we can use JavaScript API for Office get body async call to fetch the body. But for long ...
ankit wagadre's user avatar
5 votes
2 answers
2k views

I searched documentation Office Excel API, but cannot find any mentions at all, how it can be implemented. The Problem: Luck of API functionality or some sort of bugs can be solved easily by VBA ...
Arenukvern's user avatar
1 vote
1 answer
574 views

I am developing outlook javascript add-in using vs2017. I have created a sample application to find attachments from outlook mail item. Here, While getting attachments from Exchange Server, It returns ...
Pratik Ratanpara's user avatar
0 votes
1 answer
670 views

I've got an Outlook Add In that was developed using the Office Javascript API. It looks at the new email being composed & does things based on who it's going to: https://learn.microsoft.com/en-...
adam's user avatar
  • 2,970
0 votes
1 answer
1k views

I am trying to write a Excel plugin where I get the data from the currently selected ranges and then serialize it to be sent over rest request. Here is what I got: Excel.run(function (ctx) { var ...
Bill Software Engineer's user avatar
0 votes
0 answers
159 views

Is it possible to run tableau-javascript-api code, which works with html, over phantomjs? I'm working on a project to get Tableau data over tableau-javascript-API and then test them if it shows ...
bagi's user avatar
  • 9
3 votes
1 answer
3k views

I'm building an Outlook add-in with jQuery and the Office JS API. I have a local server going while developing, and I'm trying to submit a POST request to an endpoint on my site's main server. Every ...
tswift's user avatar
  • 41
0 votes
2 answers
103 views

Right now I am locating the words in a Word document by searching the term using context.document.body.search(dict, { ignorePunct: true, matchCase: true, matchWholeWord: true });` But I want to ...
Sridhar Paiya's user avatar
2 votes
0 answers
180 views

I used getFileAsync() method to create pdf of the word document: Office.context.document.getFileAsync(Office.FileType.Pdf, function(result) { if (result.status == "succeeded") { var ...
Darshita Golchha's user avatar
3 votes
0 answers
137 views

I want to nest a table object inside other table cell using the javascript office api. I saw that the TableCell object doesn't have the method insertTable so i cannot call it though the cell. The ...
sborpo's user avatar
  • 958
1 vote
1 answer
505 views

Is there a method to set a note to a specific cell ? For example, I would like to add something like this: sheet.getCell(1, 1).note = "My Note";
Valip's user avatar
  • 4,660
1 vote
0 answers
42 views

We are trying to integrate Silverlight components in Outlook task panel which is developed by Outlook Javascript API. However when mailapp(task panel) loaded, it appears error and it prompts the ...
cloud2cu's user avatar
1 vote
1 answer
1k views

Is there a way to get a range by row, column, numRows, numColumns? For example: Excel.run(function (ctx) { var sheet = ctx.workbook.worksheets.getActiveWorksheet(); var range = sheet....
Valip's user avatar
  • 4,660
0 votes
1 answer
539 views

I am inserting a nested content control and want to insert multiple paragraph in inner cc. There is a outer cc that is not editable and inside it, another inner CC is available in which i want to ...
Amit's user avatar
  • 89
1 vote
1 answer
381 views

i need to remove range from current doc that contains some contentControls with properties cannotEdit/cannotDelete = true. When i am trying to delete the range using range.delete(), word throwing ...
Amit's user avatar
  • 89
2 votes
1 answer
680 views

I need to insert a paragraph with ContentControl after the current selection paragraph, suppose the current selection is in middle of any paragraph, table or CC, I need to insert a new paragraph with ...
Amit's user avatar
  • 89
0 votes
1 answer
555 views

I need to insert a contentControl that will contain a table and wrap this ContentControl inside another parent contentControl. Currently contentControl that contain table data inserted correctly but ...
Amit's user avatar
  • 89
1 vote
1 answer
647 views

I am developing a word add-in using word JavaScript api, I need to insert some data in table format inside the content Control and placed that content control on top of document. Please advice. ...
Amit's user avatar
  • 89
2 votes
1 answer
606 views

I'm trying to select content control through js select() function - docs - but I'm always getting Access Denied error: Error: { "name": "OfficeExtension.Error", "code": "AccessDenied", "...
kamilz's user avatar
  • 323
0 votes
1 answer
2k views

I am using word javaScript Api for developing a Word add-in, i need to load a file from server and insert the content into the document, currently .docx files are working fine and inserted into the ...
Amit's user avatar
  • 89
1 vote
2 answers
907 views

I am developing an Office Excel Javascript addin using Microsoft Visual Studio 2015 Community Edition. I have installed Microsoft Excel 2016 for Windows. Now my addin needs to run certain methods ...
Ashay's user avatar
  • 21
1 vote
2 answers
1k views

I am developing a word add-in using word JavaScript API. I need to store some values in context of a document so when i open a document again on same client or other client, want to get that values ...
Amit's user avatar
  • 89
0 votes
0 answers
79 views

I am developing a add-in using word javascript Api and i need to store some information locally so want to use the Local Storage but tried to strore the values it shows me below error: Code: ...
Amit's user avatar
  • 89
0 votes
1 answer
282 views

I am using word javascript Api for developing a word add-in, I need to insert a content control on button click and send a ajax request. In ajax response i need to update the same content control. I ...
Amit's user avatar
  • 89
0 votes
1 answer
80 views

I am developing a Task pane word add-in using JavaScript API, I have used below code to create a jQuery dialogbox dynamically using a function: function myConfirm(dialogText, okFunc, cancelFunc, ...
Amit's user avatar
  • 89
0 votes
3 answers
913 views

I am developing a word add-in using word javascript api and need to get contentControl for current selection, so used parentContentControl for current selection. **Code:** var range = context....
Amit's user avatar
  • 89