kurt was telling us:
kurt nous racontait que :
> Hello,
>
[quoted text clipped - 11 lines]
>
> Much appreciation!
Normally we use the AttachedTemplate property to insert Autotext form the
template on which the current document is based:
'_______________________________________
Dim MyDoc As Document
Set MyDoc = ActiveDocument
MyDoc.AttachedTemplate.AutoTextEntries("cbo").Insert _
Where:=Selection.Range, RichText:=True
'_______________________________________
If you want absolute control and insert Autotext from any template it can be
done. However, the template must be active (opened, a document based on that
template is opened, it is a global template in the Start-up directory, etc.)
'_______________________________________
Dim MyTemplate As Template
Set MyTemplate = Templates("X:\Template1.dot")
MyTemplate.AutoTextEntries("cbo").Insert _
Where:=Selection.Range, RichText:=True
'_______________________________________

Signature
Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
jmarcilREMOVE@CAPSsympatico.caTHISTOO
Word MVP site: http://www.word.mvps.org
Thanks so much Jean-Guy! That worked perfectly.
Are you french, or quebecois perhaps? I speak french and
lived abroad, both in Paris and New Caledonia. I also
worked in Quebec for 8 months, and your name is quite
french sounding.
En tout cas, merci pour tout!
Kurt
>-----Original Message-----
>kurt was telling us:
[quoted text clipped - 39 lines]
> Where:=Selection.Range, RichText:=True
>'_______________________________________
Jean-Guy Marcil - 18 Nov 2004 20:19 GMT
anonymous@discussions.microsoft.com was telling us:
anonymous@discussions.microsoft.com nous racontait que :
> Thanks so much Jean-Guy! That worked perfectly.
>
> Are you french, or quebecois perhaps? I speak french and
The later...
> lived abroad, both in Paris and New Caledonia. I also
Wow, would love to go to New Caledonia... any contracts over there?
> worked in Quebec for 8 months, and your name is quite
Whereabouts?
> french sounding.
Yep, that it is!
> En tout cas, merci pour tout!
De rien!

Signature
Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
jmarcilREMOVE@CAPSsympatico.caTHISTOO
Word MVP site: http://www.word.mvps.org