if I'm understanding the way this is going to work, you aren't going to have
documents based on mycompany.dot, which is your global template. The
documents will be based on mycompany_coverfax.dot, mycompany_letter.dot, and
so on. These document templates should have Garamond selected as the default
font, that is, the font of the Normal style. You can change the default font
of Normal.dot to Garamond if you like, but since your new document based on
Normal.dot is just a way station, not a terminus, it really doesn't matter
there.
--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site:
http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
"Associates" wrote in message
...
Thank you both Suzanne and Graham for your replies.
I have executed the code you gave, Graham, and it works well.
Yes, you're right, Suzanne. i've got the template as global already.
The other problem i'm facing here now is I don't know how to set the font
to
Garamond for the whole document (you know - after a new document is open
based on the template, mycompany). Because at the moment, i set the font
from
Times New Roman(by default) to Garamond, it only applies to the line. But
if
i press enter key once or twice to get me to the next line, the font
changed
back to Times New Roman. Now i know that this can be done through "start,
all
programs , microsoft office, microsoft office tools, microsoft language
settings". Can this be done through the code? because i have about 8 PCs
that
i'd like to implement this for our company.
Thank you in advance
"Suzanne S. Barnhill" wrote:
Right. He's already got the template installed as a global template, so
that
part is taken care of. The toolbar could equally well be added to
Normal.dot, but in a corporate environment, a global add-in is more
appropriate.
--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the
newsgroup so
all may benefit.
"Graham Mayor" wrote in message
...
That would be possible, but it is re-inventing the wheel, when the
dialog
Suzanne suggested already offers that.
However use your template as a global template to make the toolbar
available
to all documents. The code for each type of document would be similar
to
Documents.Add Template:="D:\Word Templates\Letter Heads\Letter.dot"
insert your own path and template name(s)
--
Graham Mayor - Word MVP
My web site www.gmayor.com
Word MVP web site http://word.mvps.org
Associates wrote:
Thank you for your reply.
would do better to replace the New button with one representing the
FileNewDialog command and educate users to select the company
letter
template from the New dialog. This will create a document based on
that template and containing all its styles and formatting as well
as the custom toolbars.
I like the idea above stated by you. However, would it be possible
if
i do the following.
say i have created a template called mycompany.dot. In this template
(main template i call), there is a new toolbar designed for the
company. In the toolbar, we have mycompany_coverfax,
mycompany_letter
listed in the menu. All of these are macros. So when a user opens up
the template - mycompany, they can see the toolbar and they can
choose to open whether coverfax or letter. Once they made the
selection to open coverfax, the coverfax document comes up and the
mycompany document is closed. This is my initial intention but i
need
your advise on this. If this is ok, i need to ask how i would write
codes for macros to open up coverfax template or letter template.
Thank you in advance
"Suzanne S. Barnhill" wrote:
A template placed in the Startup folder provides only macros,
toolbars, AutoText, and other UI items; it does not provide styles
or formatting; see
http://word.mvps.org/FAQs/Customizat...latesStore.htm. You
can make a shortcut to start Word with a document based on a
specific template, but the New button will still create a new
document based on Normal.dot. You would do better to replace the
New
button with one representing the FileNewDialog command and educate
users to select the company letter template from the New dialog.
This will create a document based on that template and containing
all its styles and formatting as well as the custom toolbars.
--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the
newsgroup so all may benefit.
"Associates" wrote in
message
...
Hi,
I've been trying to get the template that i created in word 03 to
work. At the moment, i have it saved in C:\Program Files\Microsoft
Office\OFFICE11\STARTUP hoping that everytime i open up a new
document, it will always load up my own template(for company
letter). This works fine. What doesn't work is that in the
template
- company_letter.dot, i have ensure that the font is set to
Garamond, size:12, indentation, page setup, my own toolbars and
all
the other stuffs i need to make it a proper letter. I have it
saved. When i open a new word document, i can see it's
company_letter template that gets loaded up but all settings i set
before aren't there in the new document except for the toolbar i
created.
Are there anything i missed out here? or do i need a macro to do
this?
Thank you in advance