Questions tagged [word-addins]

A Word add-in is installed functionality that adds custom commands and new features to Microsoft Word.

Word add-ins are self-contained programs that modify, extend or add functionality to Microsoft Word desktop client. Currently, there are three different types of add-ins.

Web add-ins use the Office JS (Javascript) APIs introduced in Office 2013 and extended in Office 2016 and later. They are platform-independent, running on the Windows desktop, on the Mac, in Word On-line and in Word for the iPad. Currently the APIs do not support the full spectrum of Word functionality provided by the VBA/COM object model. Priority is given to functionality supported across all platforms.

COM add-ins and VSTO add-ins (VSTO Add-ins base on and extend the COM IDTExensibility2 interface) must be registered under Windows. They are loaded when Word starts and can be set to load automatically or on-demand. They work with the same object model as VBA; VSTO being .NET code accesses the objects via the PIAs (Primary Interop Assemblies).

Template add-ins are Word templates containing VBA code, Ribbon customizations and/or keyboard shortcut assignments. Placed in the designated "Start-up" directory (folder) they will be loaded automatically when Word starts and their customizations will be available to the user. Template add-ins can also be loaded and unloaded manually or explicitly through other code.

569 questions
17
votes
2 answers

MS Office Word VSTO “Load On Demand”

We have developed a product that is a standard VSTO addin (Word 2010 and Word 2013, x86 only). By default when it is installed, it is installed for all users (ie. the addin registry entries are inserted into HKLM -…
RoKa
  • 160
  • 1
  • 12
11
votes
1 answer

Why is this custom backstage UI for Word not displaying its user interface?

I have an Office addin which uses the following backstage XML to add custom UI elements into Microsoft Word backstage:
Alexandru
  • 12,264
  • 17
  • 113
  • 208
10
votes
1 answer

Office.js Word - window.external.RegisterEvent is not a function

I am developing a Word 2016 Addin and I have received an error from a client (logged via Sentry) that I'm having trouble reproducing. It occurred in a Dialog window on macOS Sierra 10.12.6 in Word 16.11. window.external.RegisterEvent is not a…
Craig Sketchley
  • 330
  • 2
  • 13
8
votes
0 answers

Microsoft Word Add-In Default Icon in Ribbon

I'm trying to get a Word add-in published into the Microsoft App Store and continue to get rejected for '1100.5.6.2 Default Icon in Ribbon' 'The Ribbon icon for the offer is displaying a default icon in Microsoft 365 on Windows, Word…
Greg
  • 81
  • 1
8
votes
4 answers

How to re-add a deleted VSTO Add-In

I've got a strange issue with a Word VSTO add-in on one machine where running the visual studio project opens word but does not attempt to start the add in as far as I can tell. I got to this point because I accidentally clicked Remove for the…
Andiih
  • 12,285
  • 10
  • 57
  • 88
7
votes
1 answer

"Add-In Warning. The license information for this add-in is missing or expired, so it may have limited functionality"

One of our customers is facing an issue while trying to activate an app created by them. The app is published as free of charge. Location: https://store.office.com/en-001/app.aspx?assetid=WA104379484&ui=en-US&rs=en-001&ad=US&appredirect=false It is…
7
votes
2 answers

Making a Shape top-most

In my Word add-in, I have a Word Document object which contains a particular Section. In this Section, I append a Shape: var shape =…
Alexandru
  • 12,264
  • 17
  • 113
  • 208
6
votes
2 answers

Cannot remove custom ribbon controls from quick access toolbar (QAT) menu

I have a custom addin for Word (could also be for Excel). The addin has a ribbon with multiple groups and multiple controls (buttons) within them. This is an ongoing project and some of the ribbon buttons are for users, and some are for…
5
votes
1 answer

Problems with Word Add-in After MS Office Update to version 13628.20274

I have problems with my Word Add-in. It doen't work. After some investigation I figured out that this issue apears after Office update. I mean in elder versions of MS Word was used Internet Explorer. But after update the engine is Microsoft Edge…
5
votes
0 answers

How to open a document in 'current window' in office add-in instead of opening in a new window?

I'm working on Office 365 Word Add-in that opens a document. When we open the document via context.application.createDocument(base64string).open(), it launches a new window instead of opening the document in current browser tab (in case of web…
Baig
  • 1,489
  • 1
  • 25
  • 41
5
votes
0 answers

Word add Ins with JavaScript, paragraph.getHtml() equations converted as image

I'm creating a word addIns, where I want to get ms word contents as html with images. paragraph.getHtml() returned html has tags for Images/equations but i'm not able to get that image. // Run a batch operation against the Word object…
safdar
  • 51
  • 2
5
votes
2 answers

What does IntPtr.Zero mean in System.Drawing.Graphics

I need to get the exact meaning of IntPtr.Zero in below function. I used this function for convert word document text range position pixel value to WPF unit value. Graphics g = Graphics.FromHwnd(IntPtr.Zero) That normally said to pass the…
KIS
  • 129
  • 1
  • 10
5
votes
1 answer

Assigning Custom Unique IDs to Word 2013 OpenXML Elements

TLDR/Question How can I best assign unique IDs to (ideally all) of the elements in the XML that describes a Word document such that I can read/write those unique IDs from a Word (2013) Add-In? Additionally, solutions describing ways I can get a good…
5
votes
2 answers

Word VSTO 4.0 Addin fails to load: Could not load file or assembly

The issue in short is that I created a Word VSTO addin that works perfectly fine on a number of machines, but fails to load on one machine only. I don't know if the problem is in the assembly name, or there is a missing DLL. The details of how that…
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…
1
2 3
37 38