D
Dave
Hi,
XL2003
I have the following Code:
Do Until Sheets("Sheet2").Cells(A, 4) = ""
B = Sheets("Sheet2").Cells(A, 4)
Sheets("Sheet2").Cells(A, 6) =
Evaluate("=SUMPRODUCT(--(Sheet1!C3:C100 = B) * (Sheet1!E3:E100))")
A = A + 1
Loop
In the Evaluate("Sumproduct... line, B is a variable, but it's not being read.
Can I use a variable in the above line?
Thanks in advance.
Dave.
XL2003
I have the following Code:
Do Until Sheets("Sheet2").Cells(A, 4) = ""
B = Sheets("Sheet2").Cells(A, 4)
Sheets("Sheet2").Cells(A, 6) =
Evaluate("=SUMPRODUCT(--(Sheet1!C3:C100 = B) * (Sheet1!E3:E100))")
A = A + 1
Loop
In the Evaluate("Sumproduct... line, B is a variable, but it's not being read.
Can I use a variable in the above line?
Thanks in advance.
Dave.