R
Rod
I have an Access program which sequentially opens 300 Word documents. Each
Word document contains about 50 tick box controls.
all the program does is read the ticks and writes them to a table.
About half way through the program stops, Access throws up what looks like a
more or less random error message, and Word complains that it can't leave
design view and create one of the tick boxes.
If I change the order in which the docs are read then the document that it
failed on is happily read without error.
If I close Word and re-open Word every 50 docs then it is better and I can
read maybe 75% of the docs at one go.
I have been careful to close and set to nothing all objects that I create in
the process, this opening of many docs is something I do lot of without
problem. This problem seems to be related to the tick box controls in Word.
I am at a loss, any suggestions welcome.
many thanks
Rod
Word document contains about 50 tick box controls.
all the program does is read the ticks and writes them to a table.
About half way through the program stops, Access throws up what looks like a
more or less random error message, and Word complains that it can't leave
design view and create one of the tick boxes.
If I change the order in which the docs are read then the document that it
failed on is happily read without error.
If I close Word and re-open Word every 50 docs then it is better and I can
read maybe 75% of the docs at one go.
I have been careful to close and set to nothing all objects that I create in
the process, this opening of many docs is something I do lot of without
problem. This problem seems to be related to the tick box controls in Word.
I am at a loss, any suggestions welcome.
many thanks
Rod