Outlook VBA - How to Deliver VBA and UserForms? - vba

In Outlook 2010 I coded a VBA and also have 2 user forms with some code.
How can I deliver the Module and the two forms as a package to my colleagues?
So they can easily add the VBA to Outlook 2010 and I can send them updates of my VBA.

Related

How to interact with the 'Microsoft Dynamics Office Add-in' by VBA

In order to set up an automation of data refresh task, I would like to use VBA to ask the add-in "Microsoft Dynamics Office Add-in", to refresh and then refresh the power query connections to this file, and then move to the next one.\
I have tried to record a macro but VBA won't detect the button within the add-in pane that I clicked;I have also tried to reference to the add-in, however this add-in wasn't showing up, neither in the project explorer nor the references list.\
Is there a way to create VBA against this add-in? I have read the article at:
https://www.exceltip.com/custom-functions/how-to-use-your-excel-add-in-functions-in-vba.html
about how you set a reference but I could not even spot the add-in at the first step.
If it is not possible to get access to this add-in via VBA, is there any other methods to do for such automation task?\
Thanks!

Is PowerPoint automation from Excel possible with Office Add-Ins?

I have a VSTO add-in for Excel that automates PowerPoint, creating new presentation documents and generates slides and other content based on the data in the current Excel workbook. (Using the Primary Interop Assemblies, it creates a new instance of the PowerPoint Application, adds a new Presentation object, Slide objects etc.)
Is it possible for a new Office Add-in to do this so it would run in Excel online, on the Mac, and so on?
It looks like I can get the context of the Office application I'm currently in (e.g. Excel), but I don't see how I can reference the PowerPoint object model, or automate anything outside of Excel itself.
Is this what Microsoft means when it says to create a VSTO add-in
"...or to extend Office 2013 and Office 2016 beyond what's possible
with Office add-ins. VSTO add-ins run only on the desktop."
rather than building a new JavaScript/HTML Office Add-In?
Thanks.
No, it is not possible. Web add-in are on different platforms like Mac where the COM automation technology doesn't exist.
Instead, you may consider using the Open XML SDK instead for generating PowerPoint files on the fly from your Excel web add-in. See Welcome to the Open XML SDK 2.5 for Office for more information.

MS Access - Load CustomUI Ribbon from VBA Add-in

I am developing a VBA add-in for MS Access. I have a CustomUI ribbon that loads fine when I open the add-in as a normal database. However, when I install the add-in using the Add-in manager, the custom ribbon does not appear.
My VBA add-in (.accda) currently consists of the following tables:
USysRegInfo - Set up as described on this page
USysRibbons - Set up as described in this article (Customize the Ribbon - Access)
How do I configure the VBA add-in to show the CustomUI ribbon when the add-in is installed/loaded?
I have been able to find documentation so far only on how to create a VBA "Menu Add-in," and how to customize the ribbon for a normal database. I haven't found any documentation on using the CustomUI ribbon from a VBA add-in in MS Access, so maybe this isn't possible.
You can reload the ribbon using
Application.LoadCustomUI NameOfTheRibbon, RibbonXMLFromUSysRibbonsTable
More here

Migrating outlook 2007 addin to outlook 2013

I have developed add-in for outlook 2007.
I need to adjust the add-in code to outlook 2013, is there any migration tool / any other way to do this?
There is very little you would actually need to change. Your Outlook 2007 Object Model code should work the same in 2013.
The main thing you would need to change is your Outlook 2007 code that adds buttons to the Toolbar (CommandBar), so that it displays buttons in the Outlook 2013 Ribbon. See the Ribbon Overview page on MSDN for more info.

Can't get the ribbon to appear in Outlook - addin from vb.net

I've created an Outlook 2010 Add-in (32 bit) using vb.net (2012). The add-in only has a ribbon tab and a small amount of code attached - just a msgbox for each button.
I've published and installed the addin, and installed the add-in in outlook. Restarted Outlook. The add-in appears to be active and this persists when outlook is restarted.
The ribbon doesn't appear.
As a test, I created another Outlook 2010 ribbon that adds text to newly created emails - that one works.
I'm new to vb.net.
What can I try next?
Fixed.
I hadn't set the RibbonType property of the ribbon to appear in the 'explorer' ribbon. The add-in was working, but I couldn't see that until I started to reply to an email.