Toolbar - List

R

rob p

Kind of a two part question: When I go into file, new - how can I get the
template list to show up in detail format not big icons?
Secondly, I want to create a template toolbar. How can I pull the templates
I want from the file, new listing to the new toolbar.

Thanks.
 
K

Kemosabe

Kind of a two part question: When I go into file, new - how can I get the
template list to show up in detail format not big icons?

Press the appropriate button above the Preview window.
Secondly, I want to create a template toolbar. How can I pull the templates
I want from the file, new listing to the new toolbar.

Create a button for each template, and assign a unique macro to the
OnAction property for each button. Each macro will have the following
sytnax, replacing the path and filename of ThisTemplate.dot with the
appropriate template path and filename:

Public Sub NewThisTemplateDocument ()

Documents.Add Template:= "C:\Program Files\Microsoft
Office\Templates\ThisTemplate.dot", NewTemplate:= False

End Sub



Better, assign a single sub to handle all of them. Assign the
template path and filename to the Parameter property of each toolbar
button, and assign the NewTemplateDocument sub to the OnAction
property of all of the buttons:

Public Sub NewTemplateDocument

Documents.Add Template:= CommandBars.ActionControl.Parameter,
NewTemplate:= False

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