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
0
votes
1 answer

Outlook Add-in how do i access the itemId of an email when using ItemSend

I am creating my first Outlook Add-in and i need to be able to get the itemID of an email when it is sent. I have setup a ExtensionPoint in the manifest which is being triggered when an email is sent. The function being called is saving the email in…
0
votes
0 answers

Excel JS Add-In does not work in Office for Mac for certification. Other Platforms work fine

I want to get my Excel JS Add In with User Defined Functions get certified for AppSource. Unfortunately, certification fails for this configuration: Office for Mac connected to an M365 subscription. OSx Version:13.2 Office Version 16.70. The error…
ChristophA
  • 11
  • 1
0
votes
1 answer

Word Backstage Customisation - Office 2021 changes

With Office 2021 Microsoft have added the control on the Info tab shown in screenshot below of and we need to disable or hide it if the document is part of the clinical application (we only intervene on documents that are part of the application -…
0
votes
0 answers

OWA opening Outlook add-in at incorrect URL

Our Outlook add-in is used for thousands of clients but recently it has started to fail for a handful of clients. We are afraid this is a growing issue. This is a paid service and the clients must install the add-in manifest manually as we have…
0
votes
0 answers

How to freeze the color of selected shape so that changing theme color should not affect the shape color in power point using Office JS API

I am trying to freeze the color of the shape which user has selected, so once the shape color is set frozen the theme color should not apply on it. To set the color of the shape I am using the below code. but I could not find anything regarding…
0
votes
0 answers

Microsoft Defender for Cloud Apps security is blocking outlook Add-in authentication flow in outlook client

our outlook Add-in is working fine without implementation of MCAS(defender conditional access policy). when this policy is applied login process added few suffix like *.mcas.ms in the addin…
0
votes
0 answers

excel js addin XYScatter datalabels

let me describe my situation: 1 i have an XYScatter chart in my excel js addin 2 and i need to add data labels to some of points in that chart 3 and here i have a problem - i do not understand how to set up that datalabels. in my attemptions to…
0
votes
2 answers

Is it possible developing VSTO application without purchase Excel?

Microsoft SQL server has special pack for developers, but Excel has no. My customer has legal Excel, but I'm developer, not end-user and I have no legal Excel in my computer. There is a case with virtual machine, but sharpness of font is and…
0
votes
1 answer

PowerPoint JS API: insert an image and set the title at the same time

I am using Script Lab to build my add-in for PowerPoint on the web. I want to insert some images and encode extra information for each image in the title. The information I want to store depends on the content of the images. From the example…
0
votes
2 answers

how to forward a email as an attachment by outlook addin web

Is this possible to send a email by outlook add-in web? Forwarding an email as an attachment by C# outlook add-in is easy to do, but it's not working for outlook client of the mac OS. so I have to try use new office feature. But I didn't find a way…
0
votes
1 answer

Unable to save a state into a file through MS office TaskPane using React JS

As a user writing an MS Word template, after I have added a number of manual fields on the ‘AddField’ tab, I want to be able to save this state to disk in a config file. When the Save button is pressed, a dialog should open allowing the user to…
0
votes
1 answer

Do web based on-send add-ins work in conjunction with COM add-ins that use the ItemSend event like Proofpoint?

We have a web based on-send Outlook add-in (not Smart Alerts) that works well. Our client uses Proofpoint, an Outlook COM add-in that appends "[secure]" into the subject of the outgoing email under certain circumstances (like if there's an…
0
votes
1 answer

VSTO Outlook: Getting Screen.FromControl(this).Bounds makes message preview not be displayed in the explorer

I have a custom task pane (ctp) at the top of my VSTO Outlook Add-in. I create it as below: this.myHostControl = new myHostControl(); this.myCtp = Globals.ThisAddIn.CustomTaskPanes.Add(myHostControl, "My Toolbar"); this.myCtp .DockPosition =…
Willy
  • 9,848
  • 22
  • 141
  • 284
0
votes
1 answer

Outlook VSTO Add-in VB - How to read the subject line of an email opened in the inbox?

I have created an add-in that allows a user to add information concerning an email into a SQL Table. I am currently trying to implement a quality-of-life feature that will read the subject line of an opened email from the inbox into the relevant…
wdb0035
  • 3
  • 1
0
votes
0 answers

Is it possible to get Workbook object from Excel online (Microsoft 365) by JavaScript API?

[What I want to do] To get Workbook object from Excel file online. Equivalent to Google Apps Script > SpereadsheetApp.OpenByUrl() or OpenById(). [Why I have to do it] To copy some template worksheets owned by me into the users' workbook by Office…