Hi, I have a function where you introduce a range of cells (lets say C1:D124) and 2 other values. It also defines 4 matrices A1,A2,B1,B2 whos values are defined by the range of chosen cells.
Please Login or Register  to view this content.
I am getting a VALUE! error in the cell I use my function but I can`t see why. My other function inputs are the following;

Please Login or Register  to view this content.
Please Login or Register  to view this content.
I am quite sure the error is somewhere over here. I am new in VBA and below average at programming, any help is appreciated!