novice_2010
Board Regular
- Joined
- Mar 18, 2010
- Messages
- 105
Hello, All,
I have following codes:
As usual, I got a "Type mismatch" error message. How should I re-write the red line of code to make it work?
I have following codes:
Sub test()
Dim Array_1 As Variant
Dim Array_2 As Variant
Array_1 = Array(2, 4, 6, 8, 10)
Array_2 = Application.WorksheetFunction.Transpose(Array_1)
Range("A1").FormulaArray = "=mmult(" & Array_1 & "," & Array_2 & ")"
End Sub
As usual, I got a "Type mismatch" error message. How should I re-write the red line of code to make it work?