syntax for using vlookup in an Excel Macro
Posted by Matt on March 23, 2001 5:44 PM
Hi!
Hopefully someone can help me out on this one.
Here's what the code looks like:
For num_of_rows = 3 To ippv Step 1
If Sheets(ppv).Cells(num_of_rows, 2) <> "Anonymous" Then
Cells(num_of_rows, 14) = Application.WorksheetFunction.VLookup(B & num_of_rows, users!usersrange, 4, False)
else
End If
Next num_of_rows
I tried all different syntax's and I can't get this to work.
Any Suggestions?
Thanks!