Compiler fail at ReDim

Greetings fellow coders, i am hoping you could help with a issue i have with the compiler, it fails at this point:
ReDim preserve Xlist(1)
error code is simply: "error VBNC99999: "

Right now, the only thing i do with that variable is declare as Integer(2) and, inside a loop, resise to Integer(1).
Before i added that line everything worked, also, I’ve tested:
same lines at the beginning of the code and got NO error there, also tried:

  • same lines with different variable name (stupid) at the beggining of code - Worked
  • replace Xlist with stupid - didn’t work
  • write the Dim and Redim at the beggining of code with Xlist - didn’t work