ActiveCell.FormulaR1C1 = _
"=VLOOKUP(RC37,'PRICING TEMPLATE II .xls'!Cat_Code,2,0)"
LastRow = Cells(Rows.Count, 37).End(xlUp).Row
ActiveCell.Copy _
Destination:=Range(ActiveCell, Cells(LastRow, ActiveCell.Column))
> I have this code:
> ActiveCell.FormulaR1C1 = _
[quoted text clipped - 5 lines]
>
> Thanks
Matadi Tappe - 24 Nov 2007 13:02 GMT
You are an expert. It works. Thanks Joel!

Signature
Tappita
> ActiveCell.FormulaR1C1 = _
> "=VLOOKUP(RC37,'PRICING TEMPLATE II .xls'!Cat_Code,2,0)"
[quoted text clipped - 12 lines]
> >
> > Thanks