T
tanglk
The error i get is type mismatch for this sumproduct function in VBA:
r = WorksheetFunction.SumProduct((Left(Range("I1:I31"), 3) = "XCH"),
(Range("J1:J31")))
same happen if i put array in.
Do you have any idea?
r = WorksheetFunction.SumProduct((Left(Range("I1:I31"), 3) = "XCH"),
(Range("J1:J31")))
same happen if i put array in.
Do you have any idea?