N
Nadeem
Hi
I am trying to use an Excel formula "lookup" in a macro.
This macro find the last row in work sheet and then
calcualte the range for the lookup_vector and
Result_vector. These ranges are then stored in a range
varible and copied to string variable.
but when I use these variables i this formaula, this gives
an error #NAME?
ActiveCell.FormulaArray = "=LOOKUP(RC[-4], st_range_1,
st_range_2)"
I am wondering if you could help.
Many thanks,
Nadeem
I am trying to use an Excel formula "lookup" in a macro.
This macro find the last row in work sheet and then
calcualte the range for the lookup_vector and
Result_vector. These ranges are then stored in a range
varible and copied to string variable.
but when I use these variables i this formaula, this gives
an error #NAME?
ActiveCell.FormulaArray = "=LOOKUP(RC[-4], st_range_1,
st_range_2)"
I am wondering if you could help.
Many thanks,
Nadeem