This is my first post. I need help with VB code to make a macro.
Here is what is required
On sheet2, I have a random number of names data in column A.
e.g
A1 = "Emily"
A2 = "John"
and so on.
Since the above data is dynamically generated, I dont know the exact number of cells that contain the data in row A. (Around 30 names at max, I guess)
So here is what I need
1) Count the number of cells that contain the data in row A on sheet2
2) Using this number, create the same number of new worksheets starting after the sheet that contains the names data.
3) Rename the sheets using the names from sheet2 (so sheet 3 would be called "Emily", sheet 4 would be called "John" and so on.)
Please help !
Here is what is required
On sheet2, I have a random number of names data in column A.
e.g
A1 = "Emily"
A2 = "John"
and so on.
Since the above data is dynamically generated, I dont know the exact number of cells that contain the data in row A. (Around 30 names at max, I guess)
So here is what I need
1) Count the number of cells that contain the data in row A on sheet2
2) Using this number, create the same number of new worksheets starting after the sheet that contains the names data.
3) Rename the sheets using the names from sheet2 (so sheet 3 would be called "Emily", sheet 4 would be called "John" and so on.)
Please help !