Hi,
I am trying to get the following formula to write to a cell but getting errors due to the quotation marks. I am vaguely aware of the Chr(34) option, but cant seem to get this to work either. Can anyone help me please?
Sheets("Data").Range("F4").Value = "=SUMPRODUCT(('All LES'!$C$2:$C$10000='All Records'!$A4)*('All LES'!$S$2:$S$10000="ABC")*('All LES'!$H$2:$H$10000="The 1st LES"))"
Thanks
I am trying to get the following formula to write to a cell but getting errors due to the quotation marks. I am vaguely aware of the Chr(34) option, but cant seem to get this to work either. Can anyone help me please?
Sheets("Data").Range("F4").Value = "=SUMPRODUCT(('All LES'!$C$2:$C$10000='All Records'!$A4)*('All LES'!$S$2:$S$10000="ABC")*('All LES'!$H$2:$H$10000="The 1st LES"))"
Thanks