How can I add a user created template to the toolbar

  • Thread starter Thread starter drumz
  • Start date Start date
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!
 
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
 
Back
Top