Hallo.
In worksheet I use this SUMPRODUCT function:
=SUMPRODUCT((List1l!$D$2:$D$1000=$A6)*(List1!$A$2:$A$1000<=$A$2)*(List1!$G$2:$G$1000)))
Now I need use this same formula, but in VBA code... I have try many ways to do this, but not one works...
Can You help me ? Thank's.
In worksheet I use this SUMPRODUCT function:
=SUMPRODUCT((List1l!$D$2:$D$1000=$A6)*(List1!$A$2:$A$1000<=$A$2)*(List1!$G$2:$G$1000)))
Now I need use this same formula, but in VBA code... I have try many ways to do this, but not one works...

Can You help me ? Thank's.