Hi
I wish to use VBA code to insert a formula into a spreadsheet. line of code below:
Problem is that the ' in between the "" is commenting the remainder of the line of code. is there any way to prevent this?
Thanks
Mosiki
I wish to use VBA code to insert a formula into a spreadsheet. line of code below:
PHP:
wsREC.Cells(j, lPosRecBrokMVCol).FormulaR1C1 = "=MATCH(RC[-6],INDIRECT(" ' "&RC[-7]&" Positions"&"'!k:k"),0)"
Problem is that the ' in between the "" is commenting the remainder of the line of code. is there any way to prevent this?
Thanks
Mosiki