PC Review


Reply
Thread Tools Rate Thread

How can I add a user created template to the toolbar

 
 
drumz
Guest
Posts: n/a
 
      6th May 2010
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!
 
Reply With Quote
 
 
 
 
Sue Mosher [MVP]
Guest
Posts: n/a
 
      14th May 2010
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!

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How can a user created template be added to the toolbar drumz Microsoft Outlook Discussion 0 6th May 2010 12:16 AM
Can I assign a template I've created to an icon on a toolbar ? Montrose guy Microsoft Word Document Management 1 28th Feb 2008 10:59 AM
User created mail template =?Utf-8?B?VGFueWE=?= Microsoft Outlook Discussion 2 19th Nov 2007 02:25 PM
How to get icons only in user-created toolbar Fletcher James Windows XP General 4 1st Apr 2004 11:42 PM
Cannot open template created by another user =?Utf-8?B?QWRhbSBT?= Microsoft Frontpage 2 27th Mar 2004 11:33 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:16 PM.