Questions tagged [office-addins]

For the new Add-ins for Office please also add the office-js tag to your question. Microsoft Visual Studio provides project templates you can use to create application-level add-ins for Microsoft Office 2010 and Office 2007. You can use add-ins to automate Office, extend Office features, or customize the Office user interface.

Add-ins for Office are a new way to create extensibility solutions for Microsoft Office. These Add-ins can be run as a taskpane on the side or inside the document dependent on the application.

Visual Studio Tools for Office (VSTO) is a set of development tools that allows the development of Office automation solutions (add-in or document customization), using .NET and the Visual Studio IDE.

Important links:

3343 questions
4
votes
1 answer

Can React apps be embedded into a PowerPoint?

I'm trying to create a PowerPoint content add-in with Office JS and the PowerPoint JavaScript API that is capable of embedding HTML and React components into slides. This is my first time trying to create a PowerPoint add-in, so any suggestions or…
4
votes
1 answer

Can you build a VSTO Excel solution in the latest Visual Studio on ARM?

I see that there is now a native ARM version of Visual Studio which is great as i use Parallels Desktop on my mac and the previous version of Visual Studio is painfully slow. I see some workloads are available and some are not:…
leora
  • 188,729
  • 360
  • 878
  • 1,366
4
votes
0 answers

Is there a way to open a linked workbook in Excel using Office.js?

I am trying to programmatically open a linked workbook referenced in the current workbook in Excel using the Office.js framework. I see an Excel.LinkedWorkbook class but with no function to open the linked workbook. How would I do this?
4
votes
0 answers

How to configure karma and jasmine for Office Addin

I am trying to configure karma and jasmine for Office Excel AddIn. I have configuration like below: // Karma configuration // Generated on Fri Nov 26 2021 11:34:29 GMT+0800 (China Standard Time) module.exports = function(config) { config.set({ …
Edward
  • 28,296
  • 11
  • 76
  • 121
4
votes
0 answers

OSF.DDA 7000 Excel office js Dialog API error

My taskpane is on URL https://presimax.in/testhome And dialog box is on https://presimax.in/word Here is the code for dialog box,
bhavasagar
  • 91
  • 6
4
votes
2 answers

Add .xll as AddIn to Excel

I got a .xll file that I can easily add to excel by doing this: Options > Addins > Browse > double click .xll file It gets imported + activated (and it remains in my excel addins every time I close and open Excel). This is the manual way I try to…
Michael K
  • 24
  • 10
4
votes
1 answer

Office add-in ribbon won't go away after debugging

Using Visual Studio 2010 I created an Office 2010 Word add-in project that has a ribbon with a couple of basic controls. I haven't even added code yet. When I debug the project Word launches and that ribbon ("Ribbon 1") is shown. All good so far,…
Keith
  • 20,636
  • 11
  • 84
  • 125
4
votes
0 answers

Is there any event or function in office 365 add-in which should be executed without opening the add-in?

I want to send a request on server after some interval but the request is going after opening the add-in when I implement my logic in .js File of my add-in. Is there any method or event which will trigger my logic after some interval without opening…
4
votes
2 answers

Blazor as a Office add-in?

I have a few questions about Office plug-ins and Blazor: Is it possible (now or in the close future) to get Blazor working as an Office add-in? Is there any work being done on this at all (where)? Is there something (in Blazor?) stopping it from…
Sturla
  • 3,446
  • 3
  • 39
  • 56
4
votes
0 answers

How to enable "allow-downloads-without-user-activation" from sandbox attribute in Word add-in

We are creating a Word add-in where user can download documents. It worked perfectly fine, although in the console it gave a warning about downloading from an iFrame being deprecated. After updating Chrome, I now get the following error when trying…
4
votes
1 answer

Enable Office Add-in only on the Web version of office products

We use XML Manifest for Office Add-ins which were deployed using Centralized Deployment method in Azure active directory. Ideally, we were trying to implement our document classification feature in Office(online) task pane by using these manifest…
Harish
  • 41
  • 2
4
votes
3 answers

For Each Cell Loop - Excel JavaScript API

In the following VBA code, I debug.print each cell value. Using the data in the picture, my answer appears like this. Sub loopAndDebugPrintEachCell() Dim cl As Object With Sheets("Sheet1") For Each cl In .Range("A1:D2") Debug.Print…
Ethan
  • 808
  • 3
  • 21
4
votes
1 answer

C# VSTO Outlook AddIn: What is a possible impact of not releasing the MailItem object

What is the importance of using Marshal.ReleaseComObject when interacting with MailItems in Outlook? I refer to the walkthrough on creating a C# VSTO Outlook AddIn at…
Kinjo
  • 66
  • 7
4
votes
1 answer

How to debug a React add-in

I'm trying to start developing an internal-use add i, but I'm having a lot of difficulties to even console.log things. I have asked a previous question here. I used the yo office command from the generator-office tool, with React and Excel as…
4
votes
0 answers

EWS set mail item body HTML

We are developing an add-in for the Outlook web app. Using the UpdateItem operation we are able to set a mail item body (in read mode) via an EWS SOAP request using mailbox.makeEwsRequestAsync. Setting a mail item body is possible using plain Text…