Skip to main content
Filter by
Sorted by
Tagged with
-1 votes
1 answer
52 views

Trying to develop a Word add-in such that when provided an Excel file, it can access said file and gather the contents of cells (already known/specified by default, not by the user) and then insert ...
908EH's user avatar
  • 27
0 votes
0 answers
45 views

Is it possible for Excel to automatically show the task pane as soon as the workbook opens in the browser? I followed the steps in the link, and only Word automatically opens the task pane with the ...
FATIH KARAMESE's user avatar
0 votes
0 answers
84 views

let mailbox: any = Office.context.mailbox.item; let envelope = ` <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi=&...
Rahul Prajapati's user avatar
0 votes
0 answers
52 views

I have an excel addin which opens a dialog. How do I see the logs from the .html page or JS code that actually calls .displayDialogAsync to show the dialog? For instance, I have a MyFunctions.html ...
Rahul Deshpande's user avatar
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
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
0 answers
65 views

I'm currently developing a task-pane based Word web add-in. However, I'm encountering an issue when I try to sideload the add-in. The add-in shows a persistent loading screen (see attached image). I'm ...
Abhishek Katariya's user avatar
0 votes
1 answer
72 views

I am trying to create a mobile add-in with Office.js and I am using OnNewMessageCompose event. 10 second after event launched, I am trying to get body with the code below but it doesn't work. async ...
Fatih Karameşe's user avatar
0 votes
0 answers
45 views

I am trying to develop a consistent formula painter with office.js for purposes of reviewing financial models. The script is meant to be run on the active sheet and will color code it using the ...
kfk103's user avatar
  • 1
0 votes
0 answers
194 views

https://learn.microsoft.com/en-us/javascript/api/powerpoint/powerpoint.presentation?view=powerpoint-js-preview#powerpoint-powerpoint-presentation-insertslidesfrombase64-member(1) I'm currently using ...
uttam gupta's user avatar
0 votes
1 answer
567 views

I'm working on a new feature for an existing Excel office add-in. This feature requires a new context menu item, however when I add a new item in manifest, only the first menu item shows. The ...
henry434's user avatar
  • 107
0 votes
1 answer
310 views

I'm creating an addin on powerpoint using office-js and I don't know if there is a method to check if a shape selected by the user ? I know that in vb.net it looks like this : Dim shape = selection....
Lucas-Senoville's user avatar
0 votes
1 answer
378 views

I want to use SSO in Outlook to get the BookstrapToken with MSGrapAccess and I'm getting the error "13012". In the documentation says that this error is only possible while sideloading, but ...
Pau Rosello's user avatar
0 votes
1 answer
192 views

Here is the Code i Used async function insertPptxFromBase64String(chosenFileBase64) { Office.context.document.getSelectedDataAsync(Office.CoercionType.SlideRange, function (asyncResult) { ...
glitchInTheCatrix's user avatar
0 votes
1 answer
623 views

I am creating an office add-in for Word and i am trying to create custom styles for users to style their texts with. I came accross this example of a styled text and went to try it myself. Here is the ...
user16712216's user avatar
0 votes
1 answer
753 views

I'm looking for a way to read resource strings and URLs from the add-in manifest. Does someone know a way? Thanks!
Yozez's user avatar
  • 165
0 votes
1 answer
544 views

Situation : I'm a newbie in add-in excel, so this could be a stupid question. I made an Excel add-in(Side load) test project by using Angular. I followed the Microsoft tutorial My test project works ...
Yiao SUN's user avatar
  • 998
1 vote
0 answers
534 views

I have updated "@microsoft/office-js" from ^1.1.25 to "^1.1.70" and I'm trying to use comments in my angular project. I have added CDN link in index.html file head tag of the ...
neha 's user avatar
  • 11
1 vote
1 answer
1k views

We are using Excel Add-in side loaded for our application. I am trying to Set a Cell Value in Excel with Base64 Encoded content (that has formatted content). I see example of how set base64 encoded ...
user2596892's user avatar
0 votes
1 answer
999 views

I am trying to Get the Value of the Active cell in Excel I was able to get the Value by writing a simple Excel Add-in. I was also able to do the same using Office-Scripts Office-Script: function main(...
bharath kumar's user avatar
0 votes
1 answer
353 views

I am trying to get the PowerPoint Slide content as byte[] or as base64, but support for this scenario in the documentation or library code is missing. In the current implementation, I am downloading ...
Botea Bogdan's user avatar
0 votes
1 answer
509 views

Background I've inserted a bunch of content controls into my word document. Each content control is a bit of text e.g. "Hello world". What I'm trying to do When a user puts their cursor ...
AnotherTeamMember's user avatar
2 votes
0 answers
88 views

I am working on word web add-in. There are two issues which I am always facing in non development environment. Sometimes word add-in displays blank screen in non-dev environments. Only after cleaning ...
SabVenkat's user avatar
0 votes
0 answers
132 views

I have an Excel JS Add-In where I am leveraging Dialog API with the displayDialogAsync method. With Edge, it works perfectly and the handler gets triggered and the code runs fine. But if the add-in is ...
nikhilism's user avatar
0 votes
0 answers
101 views

I've written the following code which invokes selected function and puts in a selected cell. I've used the delay execution of a custom function till user exits the cell. But this is not working. ...
madireddy's user avatar
  • 107
1 vote
2 answers
426 views

I am creating a word custom add-in. In that user can able to add custom comments with color, bold, or highlight or set other possible options. But when I try to use directly <b>Hello This is ...
Deep Soni's user avatar
  • 451
0 votes
1 answer
45 views

I am passing days struggling to find a way using OfficeJS to have the same functionality offered in the Office application by this button. Isn't there an out-of-the-box function or even a little ...
Med Elbayoumi's user avatar
-1 votes
1 answer
235 views

For VSTO Add-In Application we do have ContentControlOnEnter and ContentControlOnExit events, to perform post change operation of ContentControl But, I can't see any such events in office JS API Do, ...
Maulik's user avatar
  • 805
0 votes
0 answers
113 views

I am facing an odd issue while connecting VSTO addin formula with office js taskpane. Below is the scenario There is one VSTO addin which has several formulas defined in it. One newly created office ...
Feluda's user avatar
  • 1
0 votes
1 answer
197 views

I have a taskpane Office Addin that sometimes does not load the javascript file with the html. The user has to click reload a number of times before it eventually does. I know it's not rendering ...
Amanda Legere's user avatar
0 votes
0 answers
70 views

I want to take an object as two columns of a selected table. How can I extract a selected column and pass it as an object? I want the barData object to be the selected columns. This code creates a ...
Ishita Datta's user avatar
0 votes
1 answer
38 views

I want to create a Bar chart on Excel Add-in, but I want to get the target position of the chart from the user in a textfield, how can I use that value and assign it to the chart.setPosition ? Is it ...
Ishita Datta's user avatar
2 votes
1 answer
540 views

We are developing an excel add-in with react and office js APIs. We have added a chart and set the color to the chart from the color palette(chart-design -> Change Colours -> Colourful palette4)....
Sachin Warke's user avatar
0 votes
1 answer
723 views

please is the way to pin the task pane in word and excel. or use LaunchEvents like outlook to trigger the task pane on new document which in return reopens when the document is open. I need a function ...
George Nana Ekow-Daniels's user avatar
0 votes
1 answer
214 views

I am trying to split a cell/string simply in MS365 using Labscript. Split() or LEFT does not exist in Labscript which is another reason why I am not sure why MS claims that javascript is the ...
Fads's user avatar
  • 11
8 votes
2 answers
2k views

The Office JS has provided the following function in preview, but I couldn't find any example. Here is what I tried but it doesn't seem to work, any idea what I am missing here, since this code ...
Baig's user avatar
  • 1,519
1 vote
1 answer
116 views

I am trying to create events that are registered when the Excel add-in is first loaded up. I'm not sure how to get around this since I've only seen examples where they are registered with a button ...
Harsh Patel's user avatar
0 votes
2 answers
3k views

Is it possible to run js excel api in my web application using data from my server. I want to use this api as a replacement of html data table. Need a step by step guide if possible and what are the ...
blueCoder's user avatar
0 votes
1 answer
305 views

Is it possible to run js excel api in my web application using data from my server. I want to use this api as a replacement of html data table. Need a step by step guide if possible and what are the ...
Master_Shifu's user avatar
0 votes
1 answer
421 views

I´m having trouble to get SSO working in my javascript based addin for the mobile outlook app. With the example here https://github.com/OfficeDev/outlook-add-in-attachments-demo And this ...
Hatti's user avatar
  • 41
0 votes
1 answer
95 views

I have deployed an Office Add-in and uploaded through the O365 Admin Center The Add-In appears in the Excel Ribbon but can use it as a message appears “We could not open the Add-In from LocalHost. ...
José Santos's user avatar
0 votes
1 answer
688 views

I am using Office.js to create an Excel add-in. I am hosting my website on https://localhost:3000 and installed the office dev certs. When i sideload the manifest.xml locally with office-addin-...
kMutagene's user avatar
  • 371
1 vote
1 answer
560 views

Is there any method available in officejs to close the word document ? Or "how we can open word document in same instance (if there is an instance already open)".
Rajnish Jha's user avatar
1 vote
1 answer
283 views

I have tried to refer a project Angular Reference Project Link from MSFT and now i am trying to call a rest API from Angular and i am trying to create a singleton service, but whenever i try to run ...
Aagam Doshi's user avatar
0 votes
1 answer
65 views

I'm trying to develop an office-js word add-ins to enhance the right-click menu but when I'm adding the element in my manifest . Word can't read/access the manifest anymore . So OfficeMenu is not ...
Oks's user avatar
  • 11
0 votes
1 answer
105 views

just visited the this URL for office add-in availability. What is one time purchase in office add-ins and office 365 subscription ones?
TempMail Ms's user avatar
2 votes
1 answer
1k views

We have a excel add in built using office.js. Where we read data from a data range ( ie A1:C10 ) which might consist of a date column. Please refer the image below Our add in reads the data and form a ...
naveen ashok's user avatar
1 vote
2 answers
1k views

In the following code, I have a Dropdown and a Button. Once you select an option in the Dropdown and click the Button, that value will be sent to Excel in the active cell. After sending this data to ...
Ethan's user avatar
  • 858
1 vote
1 answer
151 views

In the following async function, I am getting the active cell in Excel and then loading the row index. After the context.sync I am creating a string called "newRange". Is there a way that I can set ...
Ethan's user avatar
  • 858
0 votes
0 answers
192 views

When trying to implement below logic we were able to get access token in redirect url browser like https://localhost:3000/taskpane.html#id_token="xxxxxxxx...." but not able to get in origin like in ...
Muruga ananth's user avatar