|
Thanks but still having problems. I suspected it might be a problem with garbage disposal so moved the code onto a form, created a new instance of the form, ran the code, then called the dispose method on the form instance.
The code itself only uses standard variables and does not create any new objects that can be disposed.
The times still vary cyclically with each call to the procedure.
Roger |