I noticed you declared the array as WORD(100)

and your for to loop as 0 to 100 (= 101)

maybe 0 to 99 will make it work?
No chance here, doesn't change anything, but good observation - I missed that one