smilla
09-08-2004, 01:41 AM
Hi there,
Can anybody tell me how to write some code to pause in between other code.
I have written some code to open a word document, merges with 100 records (takes 4 minutes) then opens another word document, merges again etc etc. I have 15 word documents and if the code run one after another, I am getting all sorts of errors through word.
I want to be able to pause: 50000 (i.e. 5 minutes) then run next code.
Any ideas would be appreciated.
Smilla
Can anybody tell me how to write some code to pause in between other code.
I have written some code to open a word document, merges with 100 records (takes 4 minutes) then opens another word document, merges again etc etc. I have 15 word documents and if the code run one after another, I am getting all sorts of errors through word.
I want to be able to pause: 50000 (i.e. 5 minutes) then run next code.
Any ideas would be appreciated.
Smilla