Using SUMPRODUCT in VBA
I want to use the sumproduct function to calculate a value in my macro. I
need to use the "--" format of the function. Is this syntax correct?
myVar = application.worksheetfunction.sumproduct(--(myRange=OtherVar),
AnotherRange)
|