New caption for customized template

dwsinky
dwsinky used Ask the Experts™
on
I created a "customized" MS-Word template for other people to use.
I opened the customized template and created a new "Caption."

When I had another user open the "customized" MS-Word template..... the new caption was not listed in the "cross-reference" list box of MS-Word.

To my investigation, the new "Caption" is linked to my "normal.dot" instead to my customized template.

How can I create new "Caption" that is exclusively for my customized template?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Did you accidently save the caption to normal.dot rather than your custom template?

You will first want to open your "Normal.dot" and remove the caption that was accidently placed in
it. Choose "Open" and browse to

C:\Documents and Settings\<username>\Applicaiton Data\Microsoft\Templates
and chose "Normal.dot"
Once it is open, delete the caption that got placed there and then close and save.

Now, open your customized template and insert the caption. Try saving it again.

Let me know what you discover.
Bstillion
Joanne M. OrzechManager, Document Services Center
Top Expert 2004

Commented:
You also need to be sure that other users have the caption template on their hard drive as well, so they can access it from File>New.

Author

Commented:
Please look at the attached file titled, "Caption test"

Here is what I did..........
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1. Deleted the caption from the Normal.dot
2. Timestamp of Normal.dot is 7/21/2009 7:32 AM
3. Timestamp of my customized template tmp_1110-Tdd-01.dot is 7/21/2009 7:24 AM
4. In the customized template (tmp_1110-Tdd-01.dot), I created a caption titled Test_Caption which now appears in the Reference type dropdown listbox.
5. Timestamp of Normal.dot is now 7/21/2009 7:52 AM
6. Timestamp of my customized template tmp_1110-Tdd-01.dot now is 7/21/2009 7:52 AM    Both templates have the same timestamp.
7. I opened the Normal.dot      Guess what?    Test_Caption appears in the Reference type dropdown listbox of my Normal.dot.
8. I sent the customized template tmp_1110-Tdd-01.dot  to a user.
9. When the user opened the Reference type dropdown listbox&..  Test_Caption did NOT appear.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
BTW..... all of the customized templates that I create are loaded to the users C:\Documents and Settings\<username>\Applicaiton Data\Microsoft\Templates folder when they boot-up in the morning.  And yes, they do access each template by selectiing File > New.
Caption-test.doc
Learn Ruby Fundamentals

This course will introduce you to Ruby, as well as teach you about classes, methods, variables, data structures, loops, enumerable methods, and finishing touches.

Joanne M. OrzechManager, Document Services Center
Top Expert 2004

Commented:
This may explain a little bit albeit this article is for an earlier version
http://support.microsoft.com/kb/114281

Try this template... see if you have the custom caption and see if others can see it..you'll need to rename to DOT



Text-Caption-DSWINSKY-1.doc

Author

Commented:
JOrzech......
Excuse my ignorance..... but what am I suppose to see  or  witness?
Joanne M. OrzechManager, Document Services Center
Top Expert 2004

Commented:
See if my custom caption is available.

Author

Commented:
That is merely a "style."   It does not appear as a selection in the "Cross Reference" listing.

I need to create new Caption Labels.  Such as "Exhibits"..... "Appendix"......  etc.
And then have a user select these new Caption Label names in the "Cross Reference" listing for insertion into the body of documents  (i.e.,  Refer to Exhibit 2-1,  Refer to Appendix G-5).
Joanne M. OrzechManager, Document Services Center
Top Expert 2004

Commented:
Well I can certainly see it on my machine...

Dswinsky.jpg

Author

Commented:
I'm sure you can see it.  

That's the whole issue.  These "user-defined" new caption labels are stored in our personal NORMAL.DOTs....... they are not being stored with the customized templates that we create...... and that is what I need your help with.  
Joanne M. OrzechManager, Document Services Center
Top Expert 2004

Commented:
I'm sorry - misunderstanding  - that's what I had asked you in my earlier post but I thought you were saying that I had only created the caption...

In any event, I recall we had the same question here on EE - let me see if I can find it.
Joanne M. OrzechManager, Document Services Center
Top Expert 2004

Commented:
The only thing I can think of is to create your own custom caption styles and then you can cross-reference to them as a numbered item.


Caption-test.doc

Author

Commented:
Let me give you some history..... and then share a thought.

HISTORY:
1.)  Every morning when our users start-up their PCs, a "bat" file downloads my customized templated into each user's   C:\...... \Microsoft \ Templates directory.
2.)  All of those downloaded templates have the following naming convention......  tmp_<serial #><name>.dot

THOUGHT:
1.)  Lets say that I create the new Caption Labels (eg., Exhibits, Appendix, etc) which are stored in my NORMAL.DOT
2.)   I re-name the  NORMAL.DOT to .....  tmp_normal.dot  
3.)  The "tmp_normal.dot" gets downloaded every morning with my customized templated.
4.)  So, could a macro be written for each of my customized templates to use "tmp_normal.dot" each time one is opened to create a <doc name>.DOC ?

If so, can you create the macro for me?

Joanne M. OrzechManager, Document Services Center
Top Expert 2004

Commented:
If you pushed a template named tmp_normal.dot, users would still not have access to the caption labels UNLESS they manually (or by macro) attach their document to the template tmp_normal.dot under Tools, Templates and Add-Ins.  I could write a macro that attaches tmp_normal.dot to any document you want, then the captions, etc. would be available.

So you don't want to use the workaround I suggested which could be included in the templates themself rather than the normal.dot?

Author

Commented:
Please write me a macro.  
Joanne M. OrzechManager, Document Services Center
Top Expert 2004

Commented:
Here is a macro that should work:
strUserTemplates = "C:\Documents and Settings\%username%\Application Data\Microsoft\Templates\"
ActiveDocument.AttachedTemplate = strUserTemplates & "tmp_normal.dot"

Open in new window

Manager, Document Services Center
Top Expert 2004
Commented:
Dwsinky - Did this solution work for you?  If so, please accept and close question.

Thank you.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial