View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Luc[_3_] Luc[_3_] is offline
external usenet poster
 
Posts: 24
Default insert formula in cell

trying following code to put a formula in a specific cell but get errormsg

Worksheets("Graphs").range("n4").FormulaR1C1 = "=VLOOKUP(M4;webdata!A4:E23;3)"

what am I doing wrong?