Reference to attached temlate.

S

Scott A

I'm in the process of pack up a document template, and am
taking some objects that were previously stored in
Normal.dot.

As a result, I have macros that execute autotext entries,
but refer to:

NormalTemplate.AutoTextEntries("name of autotext")...

I've tried changing NormalTemplate to AttachedTemplate,
but get 'variable not defined' errors.

What is the proper way to refer to the template currently
in use?

Thanks,

Scott A
 
J

Jonathan West

Hi Scott,

You need ActiveDocument.AttachedTemplate.AutoTextEntries("name of
autotext")...
 

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