I need some help with the VBA code to take a master spreadsheet which has 3000 lines of data (3000 employees), and break that data out onto different workbooks, not different sheets in the same workbook.

The criteria is based upon branch number which is in column A. So basically I want to create a new workbook for all of the employees in the master spreadsheet based upon the branch number located in column A. Some branches might have 10 employees, some might have 2. The master spreadsheet has various columns A though G all of which would need to be copied onto its on workbook. So how would I code the macro to do this? The new workbook name would just be the branch number. Could someone help me with this? I would really appreciate it.