That's not how you declare an Array. Should be like this: DIM Name[10]