Home |
Search |
Today's Posts |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Barb,
It is likely that your range name as entered in code does not match your actual named range's name: because of where it broke in the message, I suspect that you have a space in the name in your code, which is not allowed. Otherwise, the code should work fine. HTH, Bernie MS Excel MVP "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 |
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 |