Glos P01.xlsxOriginal.xlsx
Monthly I have to split one file into 30 different ones, each one for an area. The original file (attached) has a summary tab, a data tab, and then lots of area tabs. I have added in a sites tab which giuves the code for the data to be extracted.
To generate each workbook (see Glos P01) I need to:
Take the Consol tab but only keep the relevent column, in this case 0007
Take the data for this site and none for other sites
Take the site tab, in this case Glos
All will be saved in the same directory and named using the site tab (Glos) and the period number which is in Consol!A1
I have picked up some code from this site which I may be able to cobble together but does anyone have a good clean method of doing this? There are about 30 sites altogether.
Thanks in advance !
Bookmarks