Word forgetting which template I'm using?

C

Chris Mahoney

Hi everyone

I have created a template, and I can create a new document from that
template (File > New > Templates > My Template). However, when I go to
File > Properties, Template is still showing as Normal.dot (and I get
the same thing from VBA's ActiveDocument.AttachedTemplate property,
which is what I intend to use in the end). How can I get it to show the
actual template that the document is based on?

I'm quite new to templates so I don't know what other information might
be useful, and I'm probably missing something simple. I'm using Word
2003.

Thanks
Chris
 
C

Chris Mahoney

Hmm, I don't think I changed anything* but it worked a minute ago and
correctly showed the template. Then I tried again and it's back to
Normal.dot. So, it seems to be an intermittent problem and therefore
difficult to track down.

I've taken a look at some other templates (corporate, rather than my
own) and they all show the source template correctly. There are only
two differences I can find: The corporate templates are in the
Workgroup Templates folder, mine is in User Templates, and the
corporate templates are in the old .dot format, whereas mine is XML.

Hopefully this new information will make it a bit easier to understand
what's going on :)

Thanks
Chris

*Something has definitely changed, because the annoying "Task Pane" is
appearing when I go to File > New now, even though I had previously
disabled it.
 
C

Chris Mahoney

I've changed the template to .dot and everything's working properly
now. It seems that XML doesn't have the full functionality of the old
formats yet, eg. it doesn't seem to be possible to Reference an XML
document from VBA. Hopefully Office 2007 will have better support.

Chris
 

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