Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
dynamic data lookup by cell
I need some code to do a database lookup for each cell in specific cell range
that is not emply (e.g. a2-a250) and return a single record from the database with a select using the value in that cell in the where clause. I'm thinking the sql will be something like: "select jobname from jobs where jobid = " (i don't know how to put in the cell reference, or the vb code around it) Can someone help me? |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
dynamic data lookup by cell
We're in the same boat, I am trying to do same thing, I
know it can be done, just can't figure out how to do it. If you ever get yours to work I'd appreciate knowing how you did it. Thank you. Jean -----Original Message----- I need some code to do a database lookup for each cell in specific cell range that is not emply (e.g. a2-a250) and return a single record from the database with a select using the value in that cell in the where clause. I'm thinking the sql will be something like: "select jobname from jobs where jobid = " (i don't know how to put in the cell reference, or the vb code around it) Can someone help me? . |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Help with dynamic array lookup based on a single reference cell .. | Excel Worksheet Functions | |||
link dynamic data to cell? | Excel Discussion (Misc queries) | |||
dynamic lookup | Excel Worksheet Functions | |||
Help with copying dynamic column selected based on remote cell value and dynamic formula fill | Charts and Charting in Excel | |||
using LOOKUP instead of IF on dynamic row | Excel Worksheet Functions |