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")...
 
Top