Cannot change array dimensions (ERR=240) The program attempts to redimension a one-dimensional array to two dimensions or vice versa. Change the array's dimensions in the DIM statement.