I am having trouble with excel 2010.
When I want to do a vlookup from one workbook to another it refuses to accept the different workbook as the source location.
I.e in excel 2000 the following would be the vlookup
whereas in excel 2010 it will not accept the [TEMPLATE1.xls] the code ends up as a vlookup within the workbook that you type the actual formula.
Can anyone shed sone light on this as it is very annoying???
When I want to do a vlookup from one workbook to another it refuses to accept the different workbook as the source location.
I.e in excel 2000 the following would be the vlookup
Code:
ActiveCell.FormulaR1C1 = _
"=VLOOKUP(RC[-1], '[TEMPLATE1.xls]Sheet1'!C1, 1, FALSE)"
whereas in excel 2010 it will not accept the [TEMPLATE1.xls] the code ends up as a vlookup within the workbook that you type the actual formula.
Can anyone shed sone light on this as it is very annoying???