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

How can I pass a parameter to a word-addin, and then obtain the param value inside the add-in?

I am making great progress developing my first word add-in (using the office Javascript API). One goal I have is to be able to, from a website, collect a few values, and then launch word, including the add-in, passing in the collected values as…
0
votes
2 answers

VSTO Outlook: How to know when Outlook explorer/inspector window stops moving

I have subscribed to the BeforeMove event for explorer and inspector windows to know when it is being moved. When this event is fired I set a global variable to true. Now I need to know how to detect when BeforeMove stops so I can set the same…
Willy
  • 9,848
  • 22
  • 141
  • 284
0
votes
2 answers

VSTO Outlook: Get the current location of the active Outlook window (inspector or explorer)

I'm working on a VSTO Outlook Add-in and now I'm facing a particular use case where I need to get the screen location of the current active Outlook window (explorer or inspector). Sure it's not possible to use any Outlook API mechanism, but how can…
Willy
  • 9,848
  • 22
  • 141
  • 284
0
votes
1 answer

Is there any way to delete inbox email in outlook by using officeJS Add-in?

Is there any way to delete inbox email in outlook by using officeJS Add-in? Solution approach for implementing delete functionality for inbox email in outlook by using officeJS Add-in.
0
votes
1 answer

WordJS API adding a hyperlink to a tablecell causes general exception

I am writing a Microsoft Word Add-in using the Word javascript API. I am trying to create a new table and insert it into the document and then trying to add a hyperlink to one of the cells. This causes a GeneralException on the subsequent…
Bill King
  • 72
  • 9
0
votes
1 answer

When updating an Outlook Add-In, how can I force Outlook to recognise the update i.e. stop the browser etc. from caching the old version?

We are finding that updating an Outlook App-In results in a long propagation time (more than hours, possibly a day or more); for development purposes this can be circumvented by a) using the web app, rather than Desktop b) using an in-private…
0
votes
1 answer

How To Use .NET Class Library For Outlook Web Add-In

Recently, I have created one add-in for Outlook web. I have to use one class library. How can I use that ?
0
votes
1 answer

Is it possible to include existing excel functions in a custom ribbon?

Within an Office Excel JavaScript Add in, I created a custom ribbon. Within that custom ribbon, I would like to include custom excel functions (e.g., remove duplicates). Is it possible, to include such functions? If yes, what does an exemplary XAML…
0
votes
0 answers

localStorage in Mac doesn't share the data between Word, Excel and PowerPoint add-ins

I have defined the Word, Excel and PowerPoint add-ins in one manifest.xml file. I am using localStorage to share data between these Word, Excel and PowerPoint add-ins. It works fine in Windows but not in Mac. In Mac, the data are shared between the…
0
votes
1 answer

log4net used in VSTO Add-In will not write to file if the Add-In is under HKLM

ENVIRONMENT VS2022 OFFICE 365 log4net 2.0.15 ISSUE: I wrote a VSTO Add-In for Outlook and installed log4net as a NuGet package. What I noticed is that when the Add-In is installed under HKCU, log4net writes to my log files just fine; this includes…
ezG
  • 391
  • 1
  • 17
0
votes
0 answers

VSTO Outlook: Custom task pane title is shifted to the right when changing screen resolution and/or scale from the OS

I have an VSTO Outlook Add-in. This Add-in consists on a custom task pane that is placed at the top. Due to new vertical Outlook pane for Apps which appears on the left and which is currently overlapping with the left side of my custom task pane (it…
Willy
  • 9,848
  • 22
  • 141
  • 284
0
votes
1 answer

Is it possible to ignore paragraph marks when using getTextRanges() in word add in?

I am currently developing a word addin using the office js library. I need to get all sentences in the word document as individual ranges. For this I used getTextRanges() on the body of the document with "." as the delimiter. However, it also…
0
votes
1 answer

Outlook on-send add-in manifest file works when sideloading, fails validation when admins use Integrated Apps

We have a JavaScript Outlook on-send add-in (not Smart Alerts) that has recently been updated and published. The add-in is hosted on an Azure Storage Blob. When Exchange admins go to remove the add-in, then re-add it using Integrated Apps, and…
0
votes
0 answers

Is it possible to use insertOoxml in a Word Addin with locked sections?

I am using the getOoxml method in a Javascript Word Addin to retrieve the XML contents of a Word document. After applying the changes I use the insertOoxml method to replace the entire document. This works well, but... When one or more sections…
0
votes
1 answer

Link an Excel VBA macro with an Excel ribbon button made with VSTO Visual Studio

I want to create a custom ribbon Excel application for multiple users. However, I am restricted to using the VSTO package of Visual Studio. I cannot use the RibbonX Editor application nor the Custom UI Editor Application (Company Policy). I have an…
1 2 3
99
100