Adding values to drop down lists

lembi2001

New Member
Joined
Mar 20, 2018
Messages
10
I'm back again on bended knee.

Thank you to FormR for their help previously with renaming sheets.

Today's issue is slightly different however it encompasses some of the same problems.

So, my workbook currently comprises of 3 sheets

Main, Imported, Data

Main is the Main Menu
Imported is a copy of a sheet inside a particular network based workbook, this is imported through the use of another macro
Data is where user configurable information is stored.

The issue I have revolves around both Main and Data.

My Main Menu has an update records button on it which when clicked runs a macro to split the imported data worksheet up into seperate sheets based on a cell value called "code"

The sheets are named using this code value

The next step is to update a drop down list on Main with the name of the sheets that are available. At present I can only get it to display the code as the name but instead what I want it to do is pull info out of Data and use that as the drop down values.

For example

Data sheet

0007Agency Supply
0812Training - Staff
0864Insurance
1000Repairs
3941ATTAttendance

<tbody>
</tbody>

When the worksheets are created and named 0007, 0812,0864 etc. I would like the drop down on Main to include Columns A, B and C for the respective sheet using A1 & " - " & B1 & " - " & C1 etc, e.g.:

0007 - - Agency Supply
0812 - - Training - Staff

Is this even possible or am I asking way too much?
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.

Forum statistics

Threads
1,216,077
Messages
6,128,676
Members
449,463
Latest member
Jojomen56

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