Kaputte WorksheetFunktion?
30.08.2005 15:48:46
bgeissl
Ich verstehe nicht, dass Zeile 10 tadellos ausgeführt wird, Zeile 11 aber nicht. Hat jemand eine Idee woran das liegen könnte?
01:Option Base 1
02:
Sub test()
03: Dim ARR()
04: ReDim ARR(5, 5)
05: ARR = Array(Array(1, 2, 3, 4, 5), _
06: Array(6, 7, 8, 9, 10), _
07: Array(11, 12, 13, 14, 15), _
08: Array(16, 17, 18, 19, 20), _
09: Array(21, 22, 23, 24, 25))
10: ARR = WorksheetFunction.Transpose(ARR)
11: ARR = WorksheetFunction.MInverse(ARR)
12:End Sub
Die Fehlermeldung lautet:
Run-time error 1004: Unable to get the MInverse property of the WorksheetFunktion class.
Im Object Browser tauchen unter Worksheet
Function beide Funktionen auf.