<<
So, with your suggestion, the only way to avoid this error is making a
macro
with a loop on the fields of the document and testing if the type of the
field is wdFieldIndex.
Not really. It seems to me that if you have Calculate on Exit, Word will try
to update any INDEX field automatically, so you have to avoid having any
INDEX field while the form is being filled in. You could either chnage the
field type temporarily along the lines I suggest (in which case it probably
wouldn't be detected as a wdFieldIndex field - or insert the necessary field
when the form has been completed. However, that assumes that it is possible
to detect when the user has finished filling in the form, and of course, if
they have the opportunity to "finish", then continue editing after all, you
need to be able to detect that. I suppose I'd probably opt for some kind of
"Finish/Continue" button and hang an update macro on that.
Peter Jamieson