If count > 1 then selection box? - VBA

wrightyrx7

Well-known Member
Joined
Sep 15, 2011
Messages
994
Hi all,

Im trying to figure out the best way to do this and hoping someone could point me in the right direction.

Sheet1 - Employees data
Sheet2 - Log

Sheet2 - Log - Column A is for the employee number. When the user inputs the employee number it pulls through the employee details from the employee data using a worksheet change looking at column A.

However, we have a large number of people with multiple roles. So they appear on the Employees data multiple times. What i want is some way to get the user to select which role they are inputting data for (if this employee has more than one).

This could be a some sort of selection box, drop down list.... anything really. Its just important that in these cases a role can be selected.

Any help would be great, thank you.
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
Could you post some data sample from both sheet? so we can understand it better.
 
Upvote 0

Forum statistics

Threads
1,224,748
Messages
6,180,721
Members
452,995
Latest member
isldboy

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