WorksheetFunction.MDeterm (Excel)
Returns the matrix determinant of an array.
Array can be given as a cell range, for example, A1:C3; as an array constant, such as {1,2,3;4,5,6;7,8,9}; or as a name to either of these. MDeterm returns the #VALUE! error when:
MDeterm (Arg1)
Arg1: Array - a numeric array with an equal number of rows and columns.
Dim dblMDeterm As Double
dblMDeterm = WorksheetFunction.MDeterm(Arg1:=)