Hi mats,
When you want to edit the code, you need to open the template in an editing
window.

Signature
Regards
Jonathan West - Word MVP
www.intelligentdocuments.co.uk
Please reply to the newsgroup
>I have written a document system that I've been using for several years,
> without any problem.
[quoted text clipped - 12 lines]
> and has to be reloaded everytime I restart Word.
> Why is the project locked?
Mats Samson - 18 Nov 2004 13:50 GMT
Hi Jonathan and thanks for quick reply but....I don't get it!
If I open VBE (the VB Editor) both templates are there (Normal.dot and my
new DocMacros.dot). Normal works as it should but when I push the + mark on
DocMacros, I'm getting the darn reply, Project Locked - Project is unviewable.
Most menuitems are unavailable and the ones that I can use give me the same
reply.
As it seems to me you can only have one .dot file as a global template and
viewable/editable at a time. Normal.dot has priority thus locking the others?!
Naeh! Seems stupid!
Best regards
Mats
> Hi mats,
>
[quoted text clipped - 17 lines]
> > and has to be reloaded everytime I restart Word.
> > Why is the project locked?
Peter - 18 Nov 2004 18:38 GMT
Navigate to your new template in Windows Explorer, Right-click on it. Left-click on "Open". Alt-F11. You should now be able to edit your macros.
> Hi Jonathan and thanks for quick reply but....I don't get it!
> If I open VBE (the VB Editor) both templates are there (Normal.dot and my
[quoted text clipped - 29 lines]
> > > and has to be reloaded everytime I restart Word.
> > > Why is the project locked?