WorksheetFunction.MMult (Excel)

Returns the matrix product of two arrays. The result is an array with the same number of rows as array1 and the same number of columns as array2.

The number of columns in array1 must be the same as the number of rows in array2, and both arrays must contain only numbers. Array1 and array2 can be given as cell ranges, array constants, or references. MMult returns the #VALUE! error when:

MMult (Arg1, Arg2)

Dim arrMMult() As Variant
arrMMult() = WorksheetFunction.MMult(Arg1:=, Arg2:=)


Arg1, Arg2