Re: slow loop! any advice??
please use code tags when posting code
how are you calling this procedure? is it called from some other procedure?
what is output used for? i can see values are assigned to it, but then it is redimmed
Re: slow loop! any advice??
Sorry I'm new to the forum I'm sure I made all sorts of posting faux pas.
This procedure is not being called by another procedure. It is run on its own and the results (Result array) is pasted into the worksheet.
The output array is a temporary array used to store the results of each iteration, and then the average value of the values in Output is put into the Results array.
Thanks!
Re: slow loop! any advice??
Quote:
then the average value of the values in Output is put into the Results array.
i missed that bit
do you have any code in worksheet change (or other) event?