Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Help with Vlookup in VBA
Hi I need some help on Vlookup in VBA. I don't know why, but I have a
error with the function. Dim CoutUnitaire(10) As Double Dim i As Integer Worksheets("Mold base").Activate Range("c17").Activate For i = 1 To 10 CoutUnitaire(i) Application.WorksheetFunction.VLookup(ActiveCell.O ffset(i, 0).Value Worksheets("ListePrix").Range("A:d"), 4, False) ' I want to selec Column A To D completly Next i MsgBox CoutUnitaire(1) End Sub gracia -- Message posted from http://www.ExcelForum.com |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
If (Vlookup 0) working, but what if Vlookup cell does not exist | Excel Worksheet Functions | |||
VLookUp - Does the VLookUp return the exact information? | Excel Worksheet Functions | |||
Vlookup in vlookup - taking the result as array name | Excel Worksheet Functions | |||
Combine VLOOKUP and IF function so #NA isn't returned as a value from VLOOKUP | Excel Discussion (Misc queries) | |||
Vlookup -=VLOOKUP(F9,LookUp1!$A$2:$B$1504,2,FALSE) | New Users to Excel |