K
Kelvin
Does anyone know why I get an error #NAME? from this :
activecell.formulaR1C1 = "= VLOOKUP(RC[-1],Sheet1!C[-1]:C[75],hdr,0)"
hdr has been DIM as an integer. When running the value of hdr=33
If I put 33 in place of hdr qne run the macro, the lookup runs fine?
Any help is appreciated
activecell.formulaR1C1 = "= VLOOKUP(RC[-1],Sheet1!C[-1]:C[75],hdr,0)"
hdr has been DIM as an integer. When running the value of hdr=33
If I put 33 in place of hdr qne run the macro, the lookup runs fine?
Any help is appreciated