Hello everyone, I have a column with multiple instances of recurring data (i.e. it says "A" 20 times, "B" 15 times, "C" 1 time, etc.)
What I want is to get (in this example) nine sheets: A 1, B 1, C 1, A 2, B 2, C 2, A 3, B 3, and C 3. The 1, 2, and 3 are static names (in this case, Revenue, COGS, and Expense).
I found an answer here http://www.mrexcel.com/forum/excel-...cations-how-add-worksheet-specified-name.html about how to create sheets based off names in a range. However, my case is different because I need to select the distinct values in the column, instead of having 20 sheets named Admin, 15 sheets named Imaging, and 1 sheet named MPS, I want 1 sheet with each name.
I know that I'm going to have to use a FOR loop for the 1, 2, and 3 parts. I assume that I will also have to use one for the A, B, and C parts as well, but I don't know how to get VBA to select each distinct name from the list.
What I want is to get (in this example) nine sheets: A 1, B 1, C 1, A 2, B 2, C 2, A 3, B 3, and C 3. The 1, 2, and 3 are static names (in this case, Revenue, COGS, and Expense).
I found an answer here http://www.mrexcel.com/forum/excel-...cations-how-add-worksheet-specified-name.html about how to create sheets based off names in a range. However, my case is different because I need to select the distinct values in the column, instead of having 20 sheets named Admin, 15 sheets named Imaging, and 1 sheet named MPS, I want 1 sheet with each name.
I know that I'm going to have to use a FOR loop for the 1, 2, and 3 parts. I assume that I will also have to use one for the A, B, and C parts as well, but I don't know how to get VBA to select each distinct name from the list.