Event 5 is setting Array(1,y) to Array(0,y). Is that not close to what you want? Or are you trying to search for the name "cristal" to get the index, and then get the value at the same index in (1,y)? In that case the Dictionary object may be a better option.