I need to implement a back button for my project. I have roughly 40 forms.

At the minute every time a Form loads it is logged into an array of forms. When i hit the back button i delete the current form from the array and go to the one previous to it. This all works rather marvellously.

The question which i am getting to is about the array. The array has 20 elements. 1-20. So as i log screens it eventually gets filled up. So when the array is full i want to remove the first element. Shift elements (2 - 20) to elements (1 -19) respectivley and log the new screen in position 20.

Now i can do this with a loop,
Code:
For iCtr = 1 To 19
  Set previousScreens(iCtr) = previousScreens(iCtr + 1)
Next iCtr
but obviously this takes a bit of time. Not much but a bit. So what i want to know is this. Is there an easier / quicker method to shift all the elements of the array by one?

Thanks in advance.