Results 1 to 5 of 5

From Excel, search Access database and return all matches to a variable value

Threaded View

  1. #1
    Registered User
    Join Date
    11-27-2012
    Location
    Bemidji, Minnesota
    MS-Off Ver
    Excel 2007
    Posts
    15

    From Excel, search Access database and return all matches to a variable value

    Hello. This question relates to using Excel as a front end user interface to view data stored in an Access database. Let's say that I have a database in Access that lists different types of fruit (field 1) and their color (field 2). I would like the Excel user to be able to type a color in an Excel worksheet field A2, let's say "red". Excel would then list all the red fruits in Column C, either via formulas housed in Column C fields or via VBA. I know I could do this by creating a linked table in another Excel worksheet that would display all the Access data and then using a formula such as VLOOKUP to return all the matches, but I'm wondering if it is possible to do this more simply and straightforward without having to first import the entire linked data table into Excel. Whatever solution is suggested needs to work across different versions of Excel (2007-2016) and should be able to look through several thousand records very quickly to find matches. Thanks in advance for the help!
    Last edited by bemidjipatriot; 04-23-2017 at 10:10 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Search a table with multiple search inputs and return all matches
    By JDI in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 10-16-2014, 12:23 PM
  2. Query Access database and return all records to Excel
    By bfs3 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-18-2014, 11:01 PM
  3. Replies: 2
    Last Post: 07-05-2013, 09:37 AM
  4. Using ADO in Excel VBA - Search for Field in Access Database
    By JStoops in forum Access Programming / VBA / Macros
    Replies: 1
    Last Post: 10-29-2010, 04:46 PM
  5. Using ADO in Excel VBA-Search for Field in Access Database
    By JStoops in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-29-2010, 04:11 AM
  6. Import to excel Access database directly to a variable (not using sheets)
    By internacio in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-30-2006, 10:10 AM
  7. [SOLVED] Excel function to search and access database problem
    By Brian K. Sheperd in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-20-2005, 04:06 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1