LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Use column of data in query to SQL

I have a list of customer numbers in excel (2000 in column A).
I would like to use this list, and query the SQL Server to return their
first and last name, by matching the numbers in column A.

Can this be done without using a macro? I'm not very familiar with writing
VBA.
Or, if it can be done using a macro, and you have the code easily
paste-able, it would be appreciated.

Essentially, I want this.
Select no, fname, lname from cust
where no = {cycle thru column A}
 
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
Dynamic URL for first column of data from excel query? Edgeline Excel Discussion (Misc queries) 1 October 8th 07 12:11 PM
Dynamic URL for first column of data from excel query? Edgeline Excel Discussion (Misc queries) 0 October 8th 07 03:29 AM
Scan and remove column data query IE Excel Discussion (Misc queries) 5 March 23rd 07 09:50 AM
Scan and remove column data query IE Excel Worksheet Functions 5 March 23rd 07 09:50 AM


All times are GMT +1. The time now is 03:17 AM.

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"