Changing Databases with a dropdown

Ztcollins

Board Regular
Joined
Jun 4, 2014
Messages
69
Office Version
  1. 365
Platform
  1. Windows
If i have 10 different MS Access databases linked to a workbook. Can you make a drop down just to select which database to work off of ?




My thought is to have the databases be selectable in a dropdown and for all the information for that database populate a predetermined sheet. then all the formulas would just have to look to the one location instead of each different database.

example:

Presume each database has 4 columns of data in which one row is not to be used because its just a MS number for the parts.

DB1
DB2
DB3
DB4
DB5

Those would either be prenamed list (Dynamic). each one being on its on sheet.

The drop down would look just like above when opened. Then once it selects that database IE: DB3....

On a different sheet names (DB WORKSHEET) the information in the columns of DB3 autofill into corresponding columns.

Once there all my vlookups, index, match, etc formulas would work off of that worksheet and not have a worksheet for each database...

Can this be done with formulas or will it need script.

Sorry for being redundant in the explanations and thanks for any help.



 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.

Forum statistics

Threads
1,216,109
Messages
6,128,880
Members
449,477
Latest member
panjongshing

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