I am trying to put the formula in a range using the code below, but it is throwing error. Can someone help?
shtRpt. Range("rng"). FormulaR1C1 = " =OFFSET(INDIRECT(" Sheet1! A1"), Match(RC[30],INDIRECT("Sheet1!A:A),0)-1,8)"
Its getting highlighted in red. I have used R1C1 before and have not come across such a problem. Please help?!