Squareroot
New Member
- Joined
- Nov 9, 2022
- Messages
- 15
- Office Version
- 2021
- Platform
- Windows
Hi,
I am getting 1004 error for the following code, i have checked through many time and still unsure why..
ActiveCell.FormulaR1C1 = "=IF(" & buffer2(0) & "=""yes"",IF(" & buffer2(1) & "=0," _
& buffer2(2) & "*0.07,SUMPRODUCT(" & buffer2(1) & "," & buffer2(3) & ") * 0.07),0)"
I am getting 1004 error for the following code, i have checked through many time and still unsure why..
ActiveCell.FormulaR1C1 = "=IF(" & buffer2(0) & "=""yes"",IF(" & buffer2(1) & "=0," _
& buffer2(2) & "*0.07,SUMPRODUCT(" & buffer2(1) & "," & buffer2(3) & ") * 0.07),0)"