Hello
I have a sumifs formula as part of a macro code.
ActiveCell.FormulaR1C1 = _
"=SUMIFS(M12:M" & ListEnd & ", $A12:$A" & ListEnd & ",""Non EU"",N12:N" & ListEnd & ",""<10"")" 'Non EU Less than 10%
Column M is the range to sum, column A is first criteria range and column N is second criteria. I am using ListEnd to give me last row in the columns. It is used throughout macro.
When running it stops with error Application-Defined or Object-Defined error.
Can someone point out where I have made the mistake.
Thanks in advance.
coop123
I have a sumifs formula as part of a macro code.
ActiveCell.FormulaR1C1 = _
"=SUMIFS(M12:M" & ListEnd & ", $A12:$A" & ListEnd & ",""Non EU"",N12:N" & ListEnd & ",""<10"")" 'Non EU Less than 10%
Column M is the range to sum, column A is first criteria range and column N is second criteria. I am using ListEnd to give me last row in the columns. It is used throughout macro.
When running it stops with error Application-Defined or Object-Defined error.
Can someone point out where I have made the mistake.
Thanks in advance.
coop123