I have an Excel dashboard into which I need to import data from an Access database. I have a range on Sheet 1 (“E116:E215”) which can contain the names of up to 100 individuals. The Access database contains information for over 20k individuals. I would like to query the Access database based on the content of the range in Excel (e.g., name) and return the entire Access table row for which there is an exact match in the Excel range. I’d like to put these Access rows on a separate Sheet.
Is anyone familiar with a way to do this? I am using Excel 2010 and Access 2010. I am a beginner with VBA, but am reasonably facile at modifying existing code to suit my purposes. I’ve done quite a bit of searching on this topic, but I must not be using the right words. Everything I’ve found so far is directed at either importing the entire table or using Excel to run an existing Access query. I have tried playing with the macro recorder and Microsoft Query, but I can't figure out how to make the query return information based on criteria in Excel, not Access.
Unfortunately, I cannot upload files due to my employer’s security policies.
Any help would be greatly appreciated.
Bookmarks