you defined your array by redim. In there you assigned the size by using the variable. I would check the variable to get the size of the array note that indexing starts at 0, so if you assign 5 to the variable, the size of the array is 6. So in general: The size of your array is "variable+1". I hope I did not missinterpret your question! :) Stephan.