Distributon of Outlook Button/Macro

M

Magnus Eriksson

Hello!

I have created a macro for Outlook 2000 that is activated from a
button inside Outlook. Now I would like to distribute/install this
macro/button on other clients than my own (at my work place, I'm not
trying to create a virus here...)

How can you do that? I know you can distribute the macro by copying
the VbaProject.OTM file, but how do you dsitribute the button that is
connected to the macro?? Is it perhaps possible to script buttons in
Outlook?

Thanks in advance.

Regards,
Magnus Eriksson
 
K

Ken Slovak - [MVP - Outlook]

By far the best way is to create a COM addin and distribute that. The
COM addin would create the button. You can download and examine the
ItemsCB COM addin sample on the Resources page at www.microeye.com for
a best practices Outlook COM addin template.

Other than that you could distribute the OTM file and in the
Application_Startup event handler in the ThisOutlookSession class
module your code could create the button when Outlook starts up.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top