Good afternoon, all! Newb to VBA here and was hoping someone could help me out with a simple problem I have.
I have a rather large spreadsheet that I'll simplify and break down below:
<tbody>
</tbody>
I'd like to create new workbooks with the info from this master spreadsheet. Every merchant would have their own file and would be named the merchant name plus a specified date, for example: Shop A 9.4.13. So from the information above, I'd like to create 4 new workbooks, one for each shop that contains the data from Shop's row so the Shop A file would have the title row (row 1...same for each workbook) and 4 rows with data below that. The Shop D file would only have the title row and the 1 row of data below that.
Any help would be greatly appreciated!
I have a rather large spreadsheet that I'll simplify and break down below:
Merchant | Customer | Address1 | Address2 | ||
Shop A | Customer M | Address M1 | Address M2 | ||
Shop A | Customer A | Address A1 | Address A2 | ||
Shop A | Customer F | Address F1 | Address F2 | ||
Shop A | Customer D | Address D1 | Address D2 | ||
Shop B | Customer E | Address E1 | Address E2 | ||
Shop B | Customer C | Address C1 | Address C2 | ||
Shop C | Customer G | Address G1 | Address G2 | ||
Shop C | Customer H | Address H1 | Address H2 | ||
Shop C | Customer I | Address I1 | Address I2 | ||
Shop C | Customer K | Address K1 | Address K2 | ||
Shop D | Customer J | Address J1 | Address J2 |
<tbody>
</tbody>
I'd like to create new workbooks with the info from this master spreadsheet. Every merchant would have their own file and would be named the merchant name plus a specified date, for example: Shop A 9.4.13. So from the information above, I'd like to create 4 new workbooks, one for each shop that contains the data from Shop's row so the Shop A file would have the title row (row 1...same for each workbook) and 4 rows with data below that. The Shop D file would only have the title row and the 1 row of data below that.
Any help would be greatly appreciated!