G
Guest
Hello All,
I have a procedure to initialise each new sheet to a standard.
Part of the initialisation is to put a formula in a cell. Unfortunately this
formula contains ". (See below)
activecell.FormulaR1C1 =
"=OFFSET(Codes!E2,MATCH(MID(CELL("filename",A1),FIND("]",CELL("filename",A1))+1,255),Codes!E:E)-2,-1)"
So the question is: How do I get the VBA to put this formula in the cell?
Thanks
Richard
I have a procedure to initialise each new sheet to a standard.
Part of the initialisation is to put a formula in a cell. Unfortunately this
formula contains ". (See below)
activecell.FormulaR1C1 =
"=OFFSET(Codes!E2,MATCH(MID(CELL("filename",A1),FIND("]",CELL("filename",A1))+1,255),Codes!E:E)-2,-1)"
So the question is: How do I get the VBA to put this formula in the cell?
Thanks
Richard