VBA VLookup from excel to Project 2007 - Urgent help needed

T

tmdrake

I am trying to import data from excel to Project 2007 using vba vlookup: this
is what I am using:

TempPercent = xlApp.ActiveWorkbook.Application.WorksheetFunction.VLookup _
(TaskName, Range("A4:D6"), 2, False) * 100


However, I keep geting an error message: Runtime error 1004, unable to get
the vlookup property of the worksheet function class:

Any help on this would be greatly appreciated.


Thanks
 

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

Top