Help With VLOOKUP VBA Script Line

  • Thread starter Thread starter Andy
  • Start date Start date
A

Andy

Hi Everyone

I have this code in Excel 2007 VBA

It has a value of say 1500 in lnLastNonBlankRowNumberDeliveries

ActiveCell.FormulaR1C1 = "=VLOOKUP(RC[-1],Deliveries!$B$8:$AI$" &
lnLastNonBlankRowNumberDeliveries & ",32,FALSE)"

I'm getting an "Application-defined or object-defined" error. Can
someone help me out.

Andy
 
Back
Top