Hey,
I have coded a macro for a 5x5 matrix that is then inverted. I wanted to make this matrix variable in size, so for some calculations it would be 10x10 and others 2x2. I attempted to use a 50x50 matrix that would just have unused rows and columns left blank, however this would make the inverted matrix become a null matrix. I also attempted to declare the matrix, X, as X(0 to n, 0 to n) as Variant, however this also did not work, VBA saying that n (a single) was not allowed. Does anyone know how to solve this problem?
SpeedoJimmy