Thanks very much for this. I open TEMP1.DOT and see two top-level
objects in the VBE Project Explorer:
- Normal
- TemplateProject (TEMP1)
I click on Tools > References and don't see any item named
TemplateProject. I then also open TEMP2.DOT which is the template I
want to link to. I go to the VBE editor where I now see a third top-
level object:
- TemplateProject (TEMP2)
In the Project Editor I then select TemplateProject(TEMP1) and choose
Tools > References. I now see a checkbox item below 'Normal' called
'TemplateProject' and at the bottom of the dialog I see that its
Location is [pathname]\TEMP2. I figure I'm on the right track, so I
check it and click OK. It seems to load fine but then I get an error:
"Name conflicts with existing module, project, or object library."
What could I be doing wrong?
(btw, I see that I only get that strange reference to itself if I open
the doc from Windows Explorer rather than from Word directly; this seems
to happen for any template.)
"Tony Jollans" <My said:
When you look at the Project Explorer in the VBE, each project/document
appears as ...
ProjectName (DocumentName)
- unless both are the same in which case it appears simply as
ProjectName
The ProjectNames are what appear in the References List - and all projects
in open documents and templates appear pretty close to the top of the list.
If you have many documents open it's quite possible that there are duplicate
names ("Project" is the default name) but select any of them and the path
and name will be displayed below the listbox so you can identify each
uniquely. To create a reference, check the checkbox beside the appropriate
name. I would imagine that, if you've previously had a reference set, the
default has been changed and you actually have a unique name anyway.
I don't know how you can create a reference to itself - but you should be
able to remove it by unchecking the appropriate box - unless it's some kind
of corruption.
--
Enjoy,
Tony
Word
2000. note
that link,
I