Using Cell References For Database Access

RRod

New Member
Joined
Aug 22, 2002
Messages
2
I want to use Cell References for querying info from a database (use the data contained within a cell as the value for the SQL WHERE clause).

I have an Access database which contains project time records for employees. I am required to input summarized info from the database into an Excel worksheet for additional manipulation. Since the data is variable from period to period, I must redo the worksheet and manually enter the summarized data from the database reports for each period. I desire to have the worksheet query the database to load the initial query criteria (employee_id) to a cell, and then be able to reference the cell in subsequent queries. I have attempted to create the subsequent queries, but the wizard requires entry of the specific value and will not allow a cell reference. Can this be done?

Thanks you for your assistance! Please let me know if you have any questions or need additional information.

Rick Rodriquez
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
See the Excel Help topic for...

- "Create a query that prompts for criteria"
- "Use data from a cell on a worksheet as a parameter value"
 
Upvote 0

Forum statistics

Threads
1,222,021
Messages
6,163,439
Members
451,837
Latest member
gmc

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top