I have the following line which is supposed to input this code in a specific cell...

 ActiveCell.FormulaR1C1 = "=SUBSTITUTE(remspecial2(D2)," ","")"
I am getting a syntax error because of the ""

Ideas?