Help With VLOOKUP VBA Script Line

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Enter formula by code. 1
Trouble using VLookup in VBA 4
Data samples 3
nested if vba problem 3
VLookup 2
VLOOKUP help 2
Formula in VBA 1
ISBLANK or NOT 2

Top