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

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
Could you post some data sample from both sheet? so we can understand it better.
 
Upvote 0

Forum statistics

Threads
1,223,705
Messages
6,173,989
Members
452,541
Latest member
haasro02

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