SandsB
Well-known Member
- Joined
- Feb 13, 2007
- Messages
- 731
- Office Version
- 365
- Platform
- Windows
My file could have about 30 tabs in it, one for each volunteer. If a volunteer didn't work on a particular day there's no tab for him. That's always been OK but now I need to add a tab that looks at a list of volunteers and if a person doesn't already have a tab in the file I need a blank tab created, named for the volunteer, with just the word "OFF" in A1.
The file already has a list of all the volunteers in column A of a tab named Vol. so the macro could look at the list to see what tabs already exist. The number of volunteers changes all the time so the number of people in the list changes, too.
So - if today 28 volunteers worked the file already has 29 tabs in it. 28 named for each of the volunteers and one named Vol with the names of all volunteers. Bob Jones and John Smith took the day off. I need a macro that will create a tab named Bob Jones and and other tab named John Smith and put the word OFF in A1 of each of those tabs.
The file already has a list of all the volunteers in column A of a tab named Vol. so the macro could look at the list to see what tabs already exist. The number of volunteers changes all the time so the number of people in the list changes, too.
So - if today 28 volunteers worked the file already has 29 tabs in it. 28 named for each of the volunteers and one named Vol with the names of all volunteers. Bob Jones and John Smith took the day off. I need a macro that will create a tab named Bob Jones and and other tab named John Smith and put the word OFF in A1 of each of those tabs.