Forum Discussion
marty007
Apr 21, 2021Brass Contributor
Creating a Roster
Is there a way to automate building a roster (Roster worksheet) from the Drop Down list created (from Sheet1). I now cut and paste each name and place it in the cell as I select it. What I would like...
- Apr 21, 2021This is fantastic. I just started taking a comprehesive course on Excel. But I never would have been able to do this. Many thanks.
marty007
Apr 21, 2021Brass Contributor
I've never done anything like this before. I entered the code in Sheet1. I believe I've done everything through saving the workbook. I'm not sure how to allow macros.
HansVogelaar
Apr 21, 2021MVP
The code should go into the worksheet module of Sheet2, since the dropdown is on that sheet.
See the attached version. If you get a warning that macros have been disabled, click to allow them.
- marty007Apr 27, 2021Brass ContributorHello Hans,
I noticed in my Roster, when it adds a name to the Roster, the Drop Down list is still associated with the name (I see the Drop Down arrow in the cell). Is it possible to just have the name appear?- HansVogelaarApr 27, 2021MVP
marty007 That's an artefact. Simply remove the data validation rule from column B. The code doesn't add it.
- marty007Apr 27, 2021Brass ContributorThat did it, thanks again.
- marty007Apr 21, 2021Brass ContributorThis is fantastic. I just started taking a comprehesive course on Excel. But I never would have been able to do this. Many thanks.