Distributon of Outlook Button/Macro

  • Thread starter Thread starter Magnus Eriksson
  • Start date Start date
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
 
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.
 
Back
Top