Hello!
I would like to design a macro that will split and Excel workbook with 3 columns (Name, Account Number, Occurrence) into multiple text files. The first column (named Occurrence) contains a formula which assigns a number (an occurrence) to each row of data depending on how many times the name appears in the file. I would like to create a Macro which will create a separate text file for each Occurrence number.
For example:
Occurrence Name AccountNumber
1 Bob 1234
2 Bob 1235
3 Bob 1236
1 Tom 1234
2 Tom 1235
1 Jim 1234
I should get three files:
File 1:
1 Bob 1234
1 Tom 1234
1 Jim 1234
File 2:
2 Bob 1235
2 Tom 1235
File 3:
3 Bob 1236
Thanks in advance for your help
I would like to design a macro that will split and Excel workbook with 3 columns (Name, Account Number, Occurrence) into multiple text files. The first column (named Occurrence) contains a formula which assigns a number (an occurrence) to each row of data depending on how many times the name appears in the file. I would like to create a Macro which will create a separate text file for each Occurrence number.
For example:
Occurrence Name AccountNumber
1 Bob 1234
2 Bob 1235
3 Bob 1236
1 Tom 1234
2 Tom 1235
1 Jim 1234
I should get three files:
File 1:
1 Bob 1234
1 Tom 1234
1 Jim 1234
File 2:
2 Bob 1235
2 Tom 1235
File 3:
3 Bob 1236
Thanks in advance for your help