Home |
Search |
Today's Posts |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
You don't need the .worksheetfunction in your code.
Can you get a formula similar to this working in excel? =vlookup("something",Statics_Query_from_MS_Access_ Database, 2,false) (I like Bernie's suggestion.) Barb Reinhardt wrote: I'm not sure what I need. That's why I'm asking. Defining what I'd call a constant based on data in the workbook is new to me. "John" wrote: Hi Barb, Do you need the WorksheetFunction object in there? ie "Application.WorksheetFunction.VLookup(......" Best regards John "Barb Reinhardt" wrote in message ... I thought I posted this, but I can't find it now so it's possible it never was posted. If it's a duplicate, my apologies. I have the following equation that's not working and I'm not sure why CompanyID = Application.VLookup(Target, Range("Statics Query_from_MS_Access_Database"), 2, False) I get runtime error 1004. Method 'range' of object '_worksheet' failed I have a named range of Query ... on the Statics worksheet. Thanks, Barb Reinhardt -- Dave Peterson |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
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 | |||
Vlookup -=VLOOKUP(F9,LookUp1!$A$2:$B$1504,2,FALSE) | New Users to Excel | |||
Vlookup info being used without vlookup table attached? | Excel Worksheet Functions |