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

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.  

Who is Participating?

Improve company productivity with a Business Account.Sign Up

David LeeConnect With a Mentor Commented:
Add-ins can be written in VB or C.  Here's an example from Microsoft ( and one from a company that specializes in Outlook development (
David LeeCommented:
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.
Cristal638Author Commented:
"Re-write the solution as an add-in" - How do you code an add-in?  What language?  Do you have an example?
Cristal638Author Commented:
Thanks, I'll check them out tomorrow and get back to you.  
David LeeCommented:
You're welcome.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.