Whereas in Word 2003 autotext has autocomplete and will work in a form
field, 2007 does not have autocomplete, the autotext works in a different
manner and will not work in a protected form - nor will Word 2003 autotexts
work in a Word 2007 environment or vice versa if vba insertion is involved.
Creating a cross platform template, as you appear to envisage, is a
non-starter if you need autotexts.
Autotext will work in an unprotected section, albeit there is no
autocomplete so you are going to have to know the names of your 'thousands
of clients' in order to be able to press F3 at an opportune moment. Frankly
it doesn't seem all that practical to me?
A better bet would be to store the client details in Outlook (or some other
database format) and read the required customer details into the form. For
Outlook, the method may be similar to that shown at
http://www.gmayor.com/Macrobutton.htm . How easy it would be to transfer
your autotext entries to a new data format rather depends on how you have
used autotext, but the following macro will put them all in a document,
which you may be able to reformat to save a lot of re-keying:
Dim atEntry As AutoTextEntry
For Each atEntry In _
ActiveDocument.AttachedTemplate.AutoTextEntries
With Selection
.TypeText atEntry.Name
.Range.InsertAutoText
.TypeParagraph
End With
Next atEntry
Or you could create a userform to collect and insert data into your form
Word MVP FAQ - Userforms
http://word.mvps.org/FAQs/Userforms.htm
Another posibility, nothing to do with Word, would be to investigate a third
party text insertion tool such as GhostTyperXML, which I use for storing
standard texts for reproduction in the newsgroups and elsewhere. This
application will work with both Word 2003 and 2007 protected forms.
--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>