Macros in templates not running

L

Laina Lucas

I have recorded a macro to copy the text in a text field
and add it to the autotext (this way it will autocomplete
when used again). The problem is that when I save the
template and then run it (I have attached it to a field to
run on entry to that field, this is a field that is not
being copied by the macro) I get an error that tells
me "Run-time error '4605': The DisplayAutoCompleteTimps
method or property is not available because the object
referes to a protected area of the document."
How do I make the macro run? I have to have the template
protected and I also need to have the data put in the
autocomplete field.
Thanks,
Laina
 
T

TF

Laina

I suggest you post this WITH A COPY OF THE MACRO and information on Office
Version, OS version and patches installed to one of the Word VBA newsgroups
where you'll get expert help.



: I have recorded a macro to copy the text in a text field
: and add it to the autotext (this way it will autocomplete
: when used again). The problem is that when I save the
: template and then run it (I have attached it to a field to
: run on entry to that field, this is a field that is not
: being copied by the macro) I get an error that tells
: me "Run-time error '4605': The DisplayAutoCompleteTimps
: method or property is not available because the object
: referes to a protected area of the document."
: How do I make the macro run? I have to have the template
: protected and I also need to have the data put in the
: autocomplete field.
: Thanks,
: Laina
 
Top