Solved

Deploy an MS Outlook vba macro to multiple users and add a button to the standard toolbar

Posted on 2010-11-22
5
6,049 Views
Last Modified: 2012-05-10
I wrote a simple VBA macro in MS Outlook.  The macro works just fine, but now I need to distribute it to hundreds of users.  All I want to do is automatically import the bas file containing the macro vba code and create a button on the standard toolbar that runs it function.  I have yet to be able to find anything that can do this easily.  If the people receiving this code were all computer savvy I’d just have them import the macro and create the button themselves, but they’re not.  I just want to send them a file, have them double click on it and have it automatically install on their system.  

Thanks,
Dave
0
Comment
Question by:Cristal638
  • 3
  • 2
5 Comments
 
LVL 76

Expert Comment

by:David Lee
ID: 34193283
Hi, Dave.

Unfortunately there is no way to do this.  Your options are

1.  Distribute the entire VbaProject.OTM file.  This is the file that contains all Outlook macro code.  The downside to this approach is that it will overwrite any Outlook macros already on the user's computer.

2.  Re-write the solution as an add-in.  

You can add the toolbar button by adding code that creates it.
0
 
LVL 2

Author Comment

by:Cristal638
ID: 34193308
"Re-write the solution as an add-in" - How do you code an add-in?  What language?  Do you have an example?
0
 
LVL 76

Accepted Solution

by:
David Lee earned 500 total points
ID: 34193349
Add-ins can be written in VB or C.  Here's an example from Microsoft (http://support.microsoft.com/kb/316983) and one from a company that specializes in Outlook development (http://www.microeye.com/resources/template.htm).
0
 
LVL 2

Author Comment

by:Cristal638
ID: 34193457
Thanks, I'll check them out tomorrow and get back to you.  
0
 
LVL 76

Expert Comment

by:David Lee
ID: 34193533
You're welcome.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Find out what Office 365 Transport Rules are, how they work and their limitations managing Office 365 signatures.
This article lists the top 5 free OST to PST Converter Tools. These tools save a lot of time for users when they want to convert OST to PST after their exchange server is no longer available or some other critical issue with exchange server or impor…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Many of my clients call in with monstrous Gmail overloading issues with Outlook. A quick tip is to turn off the All Mail and Important folders from synching. Here is a quick video I made to show you how to turn off these and other folders in Gmail s…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question