Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default 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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default 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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with dynamic array lookup based on a single reference cell .. SPStevo Excel Worksheet Functions 2 January 13th 09 06:32 PM
link dynamic data to cell? [email protected] Excel Discussion (Misc queries) 0 June 27th 06 02:36 AM
dynamic lookup Giantrobot Excel Worksheet Functions 3 June 17th 06 12:11 AM
Help with copying dynamic column selected based on remote cell value and dynamic formula fill ers Charts and Charting in Excel 0 March 1st 06 01:05 AM
using LOOKUP instead of IF on dynamic row Jay C Excel Worksheet Functions 0 April 8th 05 12:56 PM


All times are GMT +1. The time now is 03:33 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"