Forum Discussion
LISTA DESPLEGABLE / REPETICIONES EN RANGO
- Jul 12, 2022Trying to exclude selected names from the drop-downs would be tedious with so many different ranges. I have added a Worksheet_Change event procedure to the worksheet module that prevents users from entering the same name twice on the same day. The workbook is now a macro-enabled workbook (*.xlsm), so you'll have to allow macros. 
- HansVogelaarJul 11, 2022MVPCould you attach a sample workbook (without sensitive data), or if that is not possible, make it available through OneDrive, Google Drive, Dropbox or similar? Thanks in advance. - Ricard_1967Jul 12, 2022Copper ContributorHansVogelaar Dear Mr. Hans Vogelaar. Thank you very much in advance for your help. I'm really stuck at this point in programming this worksheet. In the attached file there is a drop-down list of people who must be assigned by days in the different shifts without repeating themselves. Three people on Wednesday, 10:00 - 11:30 and three more on Wednesday, 11:30 - 13:00. So in all cases. My idea was to avoid repetitions on the same day. That a person does not go out repeated on Wednesday, nor on Thursday, or on Saturday. I have not been able to do it, I only have the list scheduled for Thursday on its first day. Alternatively, I have tried to make a drop-down list in which the names already used for each day disappear, but it does not accept the criteria. The repetitions to avoid are for days where there are two workplaces. On Wednesday and Saturday morning, and Thursday afternoon, there are two shifts at two exhibitors. People should not match. My computer is an Apple MacBook Air y my subscription Microsoft 365. Can you help me ? Thanks !!! - HansVogelaarJul 12, 2022MVPTrying to exclude selected names from the drop-downs would be tedious with so many different ranges. I have added a Worksheet_Change event procedure to the worksheet module that prevents users from entering the same name twice on the same day. The workbook is now a macro-enabled workbook (*.xlsm), so you'll have to allow macros.