Hello fellow excel users,
I'm looking at using a macro to sort through a workbook for me, basically towards the end of the month (as its december, be mid month) i pull of a report which will have multiple worksheets.
These sheets automatically get named, and the names for the tabs are listed in another excel spreadsheet.
Hopefully people are still with me ..
What i want it to do!
Is to sort through the workbook, referencing the workbook that has a list of codes and then i'll add an aditional column to the list which contains a name.
I want it then to check through all the tabs on the report, and match them to a name on the other list.
So someone might receive three work sheets while another receives two, all depending on the list. i want it to split the worksheets or move the worksheets to a new book, that matches the persons name in the list... if the name doesnt exist in a specific folder create a new one else add any other worksheets to it :S
Pseudo Code
If worksheet name in report.xls
is equal to "Column A" in "list.xls"
then save a copy as "persons name"
else if persons name file already exists then copy the worksheet to persons name file
end if
Hopefully that makes sence and someone can help me i have attached a small example of sheets i want to work with
Bookmarks