How can I add a user created template to the toolbar

D

drumz

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!
 
S

Sue Mosher [MVP]

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
 

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