Hi I want to be able to enter and multiply two matrices using a macro.
These dimensions of the matrices will change but for simplicity let's assume they are both 2x2 matrices.
So how do I go about doing this so far I have:
Set X = Range("A1", Range("A1").End(xlDown).End(xlToRight))
Set Y = Range("E1", Range("E1").End(xlDown).End(xlToRight))
Range("W1", Range("W1").Offset(2, 2)).Select
Range("W1").Value = "{=MMULT(X,Y)}"
Clearly this is wrong but I don't know how to fix this.
Any help?
Thanks!