paulag1955 said:
Is it possible to print a listing of all the autotext entries in the
normal
template and if so, can someone give me a push in the right direction?
Also,
is it possible to store entries in a template other than the normal
template?
The AutoTextEntries collection is a property of any Template object. Each
AutoTextEntry has a Name property. You can iterate through the collection
and read the Name of each one. If you want the Normal template specifically,
that is the NormalTemplate object.
If you want to add an Autotext entry to a template other then Normal.dot by
hand, then make sure you have the right template open. Select the text you
want to include in the Autotext entry. Go to Insert, AutoText, AutoText.
Click the AutoText tab of the dialog that appears. Then choose your template
in the Look In box at the bottom. Then type in the name you want for the
AutoText entry and click Add.
To add an Autotext entry using code, use the Add method of the
AutoTextEntries collection of any template.
--
Regards
Jonathan West - Word MVP
www.intelligentdocuments.co.uk
Please reply to the newsgroup
Keep your VBA code safe, sign the ClassicVB petition
www.classicvb.org