View Single Post
  #3  
Old October 12th 10, 08:10 PM
Kimberann Kimberann is offline
Junior Member
 
First recorded activity at Outlookbanter: Oct 2010
Posts: 1
Default

Ok.. and just how to you add a macro to your toolbar :-)

Quote:
Originally Posted by Sue Mosher [MVP][_4_] View Post
Write a little VBA macro and put the macro on the toolbar:

Sub DoIt()
Set msg = Application.CreateItemFromTemplate("C:\myfile.oft" )
msg.Display
End Sub
--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54



"drumz" wrote:

I created a custom template that I would like to access from the tool bar
instead of through the menus. Is there a way to do that? I saw a way to do it
with forms using VBEditor but that wouldn't work with a template.

Does anyone know how I can accomplish adding a button to the toolbar that
will open my OFT file?
Thanks!
Ads