Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
1scant
 
Posts: n/a
Default How to lookup values in Access db?


I have been using a Match function to see if a reference ($A2) has a
match in another Excell worksheet. However, the latter worksheet has
over 190K references which I have divided into four columns so that I
don't exceed 65K rows. Very inefficient and complex. I have created
this reference table in Access (190K records) and would like for my
Excell sheet to look up (or test for a match) the reference in the
Access db.

Seems like this should be very straight forward and apriori for
learning how to interface different applications. Exactly how do I do
this?


--
1scant
------------------------------------------------------------------------
1scant's Profile: http://www.excelforum.com/member.php...o&userid=31635
View this thread: http://www.excelforum.com/showthread...hreadid=547176

  #2   Report Post  
Posted to microsoft.public.excel.misc
Daniel CHEN
 
Posts: n/a
Default How to lookup values in Access db?


Use VBA Code, you can query Access database via SQL statement.

--
Best regards,
---
Yongjun CHEN
=================================
XLDataSoft - Data Analysis Expert, Excel/VBA Specialist
- - - - www.XLDataSoft.com - - - -
Free Excel-Based Data Processing Tool is Available for Download
Free Excel / VBA Training Materials is Available for Download
=================================
"1scant" wrote in
message ...

I have been using a Match function to see if a reference ($A2) has a
match in another Excell worksheet. However, the latter worksheet has
over 190K references which I have divided into four columns so that I
don't exceed 65K rows. Very inefficient and complex. I have created
this reference table in Access (190K records) and would like for my
Excell sheet to look up (or test for a match) the reference in the
Access db.

Seems like this should be very straight forward and apriori for
learning how to interface different applications. Exactly how do I do
this?


--
1scant
------------------------------------------------------------------------
1scant's Profile:
http://www.excelforum.com/member.php...o&userid=31635
View this thread: http://www.excelforum.com/showthread...hreadid=547176



  #3   Report Post  
Posted to microsoft.public.excel.misc
1scant
 
Posts: n/a
Default How to lookup values in Access db?


OK. Please, help me out with the VBA code to:
Open ARMS.mdb (and do we have to explicitly share it if others will
will be accessing this mdb at the same time?)
Function (sql) to find names referenced in Excel A2:A10 if they exist
in ARMS.mdb field DSN. If found, return value of field NU. If not
found, return "ERR".
Close ARMS.mdb


--
1scant
------------------------------------------------------------------------
1scant's Profile: http://www.excelforum.com/member.php...o&userid=31635
View this thread: http://www.excelforum.com/showthread...hreadid=547176

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
Keep values after lookup MABeatty Excel Discussion (Misc queries) 1 March 13th 06 09:06 PM
How do I lookup data with two comparison values? Tiziano Excel Worksheet Functions 9 December 3rd 05 05:15 AM
Lookup values in one column to return another [email protected] Excel Worksheet Functions 4 November 17th 05 09:42 PM
Code to 'lookup' value in Access database maacmaac Excel Discussion (Misc queries) 0 September 16th 05 02:52 AM
How do I LOOKUP text values Amber C-W Excel Worksheet Functions 4 July 20th 05 05:27 PM


All times are GMT +1. The time now is 08:24 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"