swetha_tarun
New Member
- Joined
- Jul 20, 2017
- Messages
- 1
Hi,
I am looking for macro to copy rows based on partial cell content of a column. I have an excel spreadsheet called "arc.xlsx" from which I would like to copy data to other few new excel files when certain criteria are met. The excel file contained location is C:\Documents and Settings\xxxx\Desktop\Company.
Below is the sample data from the excel file, where I need to create a file based on the Column C (Line) data, The macro should divide the rows based on column C and create new file with the unique name, save it in specified folder. Heading should be retained for all the files created.
Am only a beginner in Excel so please help me out to learn more with this file as needed.
Sample Data:
<colgroup><col span="4"><col><col><col span="9"></colgroup><tbody>
</tbody>
I am looking for macro to copy rows based on partial cell content of a column. I have an excel spreadsheet called "arc.xlsx" from which I would like to copy data to other few new excel files when certain criteria are met. The excel file contained location is C:\Documents and Settings\xxxx\Desktop\Company.
Below is the sample data from the excel file, where I need to create a file based on the Column C (Line) data, The macro should divide the rows based on column C and create new file with the unique name, save it in specified folder. Heading should be retained for all the files created.
Am only a beginner in Excel so please help me out to learn more with this file as needed.
Sample Data:
Operation | Plan | Line | Location # | Location begin | Location end | Branch | Unit | State | Data | # | Type | Name | Begin Date | End Date |
A | 1 | 1 | 1 | 12/18/1989 | 06/30/2000 | 1 | NONE | None | 12/18/1989 | 12/31/1989 | ||||
A | 1 | 1 | 2 | 12/18/1989 | 06/30/2000 | 1 | NONE | None | 12/18/1989 | 12/31/1989 | ||||
A | 1 | 1 | 3 | 12/18/1989 | 06/30/2000 | 1 | NONE | None | 12/18/1989 | 12/31/1989 | ||||
A | 1 | 2 | 1 | 12/18/1989 | 06/30/2000 | 2 | NONE | None | ######## | 12/31/1990 | ||||
A | 1 | 2 | 2 | 12/18/1989 | 06/30/2000 | 2 | NONE | None | ######## | 12/31/1990 | ||||
A | 1 | 2 | 3 | 12/18/1989 | 06/30/2000 | 2 | NONE | None | ######## | 12/31/1990 | ||||
A | 1 | 2 | 4 | 12/18/1989 | 06/30/2000 | 2 | NONE | None | ######## | 12/31/1990 | ||||
A | 1 | 2 | 5 | 12/18/1989 | 06/30/2000 | 2 | NONE | None | ######## | 12/31/1990 | ||||
A | 1 | 3 | 1 | 12/18/1989 | 06/30/2000 | 3 | NONE | None | ######## | 12/31/1991 |
<colgroup><col span="4"><col><col><col span="9"></colgroup><tbody>
</tbody>