'Accessing Outlook COM addins
I am a novice at programming and it is my first time trying to program a plugin for outlook, which I am having issues with.
When using Application.COMAddIn("addinname").Update
I get the error that COMaddin
is not a member for Application. Reading Microsoft documentation seems to state that it is a member of Application.
I'm guessing this is a stupid mistake, any help will be greatly appreciated.
Solution 1:[1]
It is Application.COMAddIns
(plural). But COMAddin object does not expose the Update method.
To see Outlook objects and their methods and properties, use OutlookSpy (I am its author) - in your particular case, click Application button on the OutlookSpy ribbon, select COMAddins property, click Browse. In the COMAddins window, go to the IEnumVariant tab and double click on an addin.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Ryan M |