anuradhagrewal
Board Regular
- Joined
- Dec 3, 2020
- Messages
- 87
- Office Version
- 2010
- Platform
- Windows
Hi
I have this excel file with serial numbers of employees. I need to make individual text files of 500 serial numbers.
The master list is enclosed.
What I am looking for is that I am able to run a VB script that automatically that
1)Opens the worksheet-->DATA( main sheet) of the workbook file.
2)Pick up the first 500(A501) serial numbers in DATA---> copies it and then creates a----> text file name "list1.txt".
3)Then the code picks up(in a loop) from the 501(A502) serial number-----> copies it and then creates a----> text file name "list2.txt" and so on...
There are 3350 serial numbers in (3351 rows) and hence it should make around 7 text files.
I am completely lost and have no clue how to do it.
Can anyone help me out with this ... it will be a lifesaver.
I have this excel file with serial numbers of employees. I need to make individual text files of 500 serial numbers.
The master list is enclosed.
What I am looking for is that I am able to run a VB script that automatically that
1)Opens the worksheet-->DATA( main sheet) of the workbook file.
2)Pick up the first 500(A501) serial numbers in DATA---> copies it and then creates a----> text file name "list1.txt".
3)Then the code picks up(in a loop) from the 501(A502) serial number-----> copies it and then creates a----> text file name "list2.txt" and so on...
There are 3350 serial numbers in (3351 rows) and hence it should make around 7 text files.
I am completely lost and have no clue how to do it.
Can anyone help me out with this ... it will be a lifesaver.