Skip to main content
Filter by
Sorted by
Tagged with
1 vote
1 answer
65 views

I want to restrict delete worksheet option from worksheet tab. I couldn't find any thing about this so that I use one event which is available in office-js documentation. onDeleted For that I use this ...
Jayshiv's user avatar
  • 13
1 vote
0 answers
25 views

How to identify the list of users who are active in the sharepoint excel file currently using the office excel web addin (code-type script) identify if we have a user already working on the sharepoint ...
Thinesh T's user avatar
0 votes
0 answers
40 views

{ type: Excel.CellValueType.formattedNumber, basicValue: Number(value), numberFormat: '#,##0.00', }; this is how I am formatting my response in custom formula response returning in excel ...
Shukla Dev's user avatar
1 vote
0 answers
26 views

I have underlined the word through my JS add-in code by updating the Ooxml value, and to identify that word I have used the bookmark, (added the underline inside the bookmark). The issue I'm facing is ...
Soham Nale's user avatar
1 vote
0 answers
249 views

I've a VSTO Add'In running in Outlook to integrate some emails with a Web Application in .NET Framework 4.8 that uses openid authentication. Now, Microsoft released the new version of Outlook that no ...
NatsuDragonEye's user avatar
1 vote
0 answers
263 views

I'm trying to develop an Outlook add-in so I'm using the Yeoman generator for Office to generate a base template of an outlook add-in. I have sideloaded the add-in in Outlook. Problem This add-in ...
ceid1987's user avatar
2 votes
1 answer
276 views

I open an Office dialog for SSO and after login I successfully get the code from the URL using this code: const currentUrl = window.location.href; console.log(currentUrl); const getCodeFromUrl = (...
Waqas Ahmed'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
0 answers
512 views

I am developing a PowerPoint add-in wherein there is a functionality of adding a slide using the base64 string and the method insertSlidesFromBase64. Below is the code for the same: await PowerPoint....
user25886196's user avatar
0 votes
0 answers
27 views

How can I access the currently displayed value of a given cell range but not the actual value of that cell? For example - see this below image, where I have not increased the width of the cell enough ...
DJay's user avatar
  • 1,292
1 vote
2 answers
65 views

Both taskpane.js and a packed version of the same file (75af049aa831360ba2a0.js) are running at the same time in my Office JS Add-in. I only want my file/functions to be run once. Here is my webpack....
zach--'s user avatar
  • 25
0 votes
1 answer
135 views

I want to add notification message in outlook compose window. On this make 2 buttons one is Add and second one is Dismiss. when click on add button do call an API in commonds js. Is it possibale. i ...
Zia ul Qamar's user avatar
0 votes
0 answers
31 views

I have an Excel javascript add-in that includes some cell right-click actions, which can therefore be done when the add-in's task pane is not showing. One of the actions should launch a pop-up dialog. ...
CBullen's user avatar
  • 26
0 votes
0 answers
75 views

Is there any way to replace old version of excel add-in custom formulas to the new version of add-in custom formula using excel javascript api and angular ? like this : =OLD.GET(A5,B5,C5) to this : =...
Shukla Dev's user avatar
0 votes
1 answer
60 views

I am integrating our backend service (built with Java Spring Boot) with a Microsoft Word add-in (built with Angular). Current Setup: Our backend service creates a DriveItem for a Word document ...
stackoverflow_user_'s user avatar
0 votes
1 answer
713 views

I am new with Office Scripts. Here is what I am trying to accomplish If A9 is 1, copy Raw_Data sheet F9 to J9 to temp sheet A1 to E1 If A10 is 2, copy Raw_Data E10 and I10 to temp sheet F1 and G1 If ...
Jampong's user avatar
  • 25
1 vote
1 answer
139 views

I am trying to understand why getRangeByIndex does not work when copy pasting from one sheet to another sheet Here is the getRange script function main(workbook: ExcelScript.Workbook) { let temp = ...
Jampong's user avatar
  • 25
0 votes
1 answer
88 views

I am developing a Word add-in using OfficeJS and Angular. There is a requirement to update the ribbon text dynamically at runtime. Is this possible now? I want to display the name of the current ...
Abhishek Katariya's user avatar
1 vote
0 answers
97 views

I've developed an Office.js Excel add-in which has recently been deployed by my organisation through Integrated Apps. The add-in works perfectly on MacOS and through the browser, but I would like it ...
FrejaT's user avatar
  • 11
0 votes
0 answers
31 views

I'm building an Excel Js add-in taskpane that provides basic features for free and advanced features for licensed users. For that, I need to know who the current user is to look up if they have a ...
CBullen's user avatar
  • 26
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
97 views

I'm developing an Outlook web addin for Microsoft 365 accounts following Microsoft documents that consists of manifest.xml, webpack.config.js etc. It has: a button we can click to display a ...
John's user avatar
  • 119
-2 votes
2 answers
62 views

I am trying to develop an Excel addin that would use Three.js. For that, I have several files : Home.html, my main html 3dModel.js, the script using three to create and display my 3d model Home.js, ...
Arthur Bellemin's user avatar
0 votes
1 answer
103 views

We have implemented a web addin using Outlook.js that shows in the task pane when an email is read. Now we need to use this addin also when multiple email are selected, so following the Microsoft ...
Marcello Rosciano's user avatar
0 votes
1 answer
310 views

I am developing an independent application based on NodeJS and typescript which works on PowerPoint (read slides, metadata etc. ). I am interested in knowing if I can use office JS to process ...
pg-dev's user avatar
  • 31
0 votes
0 answers
100 views

I'm trying to create a very simple Powerpoint Add-in to learn how to do so. The add-in is a Powerpoint taskpane that is supposed to write "Hello world" in the selected text frame. I have a ...
Daviiid's user avatar
  • 119
0 votes
1 answer
205 views

I have been trying to extract filtered data from my "PMs" table in my excel, I need to filter column D for statuses that are equal to "WSCH" or "WAPPR" or "INPRG&...
AmazingBand Proyect's's user avatar
0 votes
0 answers
93 views

I want to use query string parameters on SourceLocation on a Office add in(Word add in). I can add the query string parameters inside the manifest.xml file. How can I read them inside taskpane.html ...
user1659922's user avatar
0 votes
0 answers
53 views

Anyone can help me with the javascript office add-ins API for powerpoint? I am trying to add a sideload add-in that just has a button to some text on a slide. And this works perfectly fine when I put ...
Lara Dani's user avatar
0 votes
0 answers
31 views

My Environment Platform : PC desktop Host: Power Point Office version number: Microsoft® PowerPoint® for Microsoft 365 MSO (Version 2404 Build 16.0.17531.20140) 64-bit Operating System: Windows 11 pro ...
Jayshiv's user avatar
  • 15
0 votes
0 answers
65 views

Context I'm building an Office 365 add-in - to be run in Outlook, both desktop and web -, and I'm at the stage where I want to try logging the user in and getting an access token. However, I'm running ...
Zalán Meggyesi's user avatar
0 votes
0 answers
66 views

I'm trying to figure out if it's possible to execute code in my task pane without rendering the task pane. I've reviewed all the relevant documentation here: https://learn.microsoft.com/en-us/office/...
Nick's user avatar
  • 51
1 vote
1 answer
59 views

I want To create One object in which I want to store Cell address and there column and row index. I have achieve that using this code but in mereged cell I'm facing issue. If A1 and B1 Cell is ...
Jayshiv's user avatar
  • 15
0 votes
1 answer
34 views

I am working in an add-in project using taskpane. I created a custom tab and identified my buttons and function actions in the manifest file as described: <bt:Urls> <bt:Url id=&...
Abdulhadi jarad's user avatar
-1 votes
1 answer
282 views

I'm trying to push my Word plugin to AppSource: I followed the documentation and created an account on the Microsoft Partner Program: https://learn.microsoft.com/en-us/office/dev/add-ins/publish/...
Dat Tran's user avatar
  • 2,402
1 vote
0 answers
85 views

I am creating a Word add-in that writes in a document while generating some text. The problem is that sometimes the document already has something above the generated text, so I need to keep that ...
Lucas Gardini Dias's user avatar
0 votes
1 answer
142 views

I've developed an Excel Add-In which, as I understand it, I need to upload to an Azure blob storage and generate an URL with a SAS key that I then share with the certification team. This will be a ...
Thomas McAuliffe's user avatar
0 votes
1 answer
80 views

In office-js when I create a footnote, it returns a Word.NoteItem object, but there doesn't seem to be any obvious way to get the index of the footnote. const footnote = range.insertFootnote(); // ...
Peter Henry's user avatar
0 votes
0 answers
339 views

I'm trying to use the "Report Message" Outlook Add-In which I think is MSFT developed to report a "Phishing" e-mail but it's opening the Edge browser to the following URL and not ...
FreeSoftwareServers's user avatar
1 vote
1 answer
65 views

I am trying to set my default on load view of the word document to simple markup but there seems to be no direct function for it in OfficeJS. Does anyone have any idea how to achieve it or any ...
ikunjshah's user avatar
0 votes
1 answer
45 views

Get doc file blob format and base64 string let url = `${location.origin}/assets/templates/test.docx`; fetch(url).then(response => response.blob()).then((base64String) => { blobToBase64(...
Rahul Prajapati's user avatar
0 votes
1 answer
351 views

I am developing an add ins in visual studio 2022 using java-script. I want to upgrade my add ins with React (type script) I read documentation in that I can create add ins in visual studio code using ...
Jayshiv's user avatar
  • 13
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
1 answer
49 views

In Outlook COM Add-ins, we can catch the Reply/Forward events but for Web/JS Add-ins, there doesn't seem to be such events exposed. The closest one is OnNewMessageCompose and OnMessageCompose but ...
John Evans Solachuk's user avatar
1 vote
1 answer
136 views

I'm experimenting with an Outlook Add-in to install it on both Outlook Web and the Outlook Desktop Application. When I run the sample code using npm run start, Outlook redirects to the sign-in page. ...
Lorenz Hart's user avatar
2 votes
1 answer
275 views

I am trying to develop an excel addin using Office JS Api and Angular. I want to achieve enable/disable ribbon controls functionality in desktop version. when I use Office.ribbon.requestUpdate method ...
Shukla Dev's user avatar
1 vote
1 answer
275 views

I have a paragraph present in the Word (Office 365). I can replace the whole paragraph, but I wanted to replace and redline only certain substrings in the paragraph. Note:- By redline, I mean that the ...
Neer's user avatar
  • 37
3 votes
1 answer
141 views

I am developing excel-addin using angular and Office JS API.I want to display a text message in angular toast and normal text on the right side of the ribbon/menu bar of excel. I want functionality ...
Shukla Dev's user avatar
0 votes
3 answers
58 views

async function openDialog(event) { let url = 'localhost:4200/#/openDialog'; await Office.context.auth.getAccessTokenAsync(gettoken); function gettoken(res) { ...
Rahul Prajapati's user avatar
0 votes
0 answers
41 views

I've got an add in for outlook which is successfully updating the attachments via the graph API. However, it doesn't show up in outlook desktop client unless you close the client and re-open it and ...
Ryan Durrant's user avatar
  • 1,070