The code is above. For whatever reason it comes up with an error for the workbook when trying to check this function. Workbook is included. This code can be found in form "ShiftPop"Please Login or Register to view this content.
I used it exactly like I use range every time, although normally I don't have a for...next and if in the middle of it.
I can change the name range just keep in mind it is dynamic. The pivot table range I use for a sheet I didn't attach. I was just borrowing since it should be essentially the same range. I tried naming a new range and it didn't fix anything.
The function of it should be:
Any number of events, volunteers, and shifts have been entered using the forms. The "Populated Shifts" sheet is basically a large raw data sheet that other things are calculated based on. When using ShiftPop it will enter the data on a new row for every person. The problem trying to be solved is that sometimes you forget what data you have entered and not entered. So it should check that the exact shift you have entered with each volunteer is not in the "Populated Shifts" already. It should check for each volunteer listed in the combo boxes.
If anything is unclear let me know.
Thanks
Bookmarks