Hi, I'm new to this forum. I'm hoping to get some help here to automate the work that I have to do every 2 weeks.
I'm using Excel 2007. There are 2 files.
File A: This file is generated every 2 weeks. The data I want from this file is in Col B. Number of rows depending on transaction volume of that week. So minimum row could be 1, but so far never exceed 300 rows. It could be more in the future.
File B: It's a template file, many fixed data in this file. Only 3 cells need changes. The 3 cells are Row 2 of Col B, C and F. All 3 cells will have the same data/value I opy from File A.
This is what I want to do:
1. Open File A, copy data/value in Col B, Row 2.
2. Open File B (template), paste the data to Row 2 of Col B, C and F.
3. Save File B as new file, in a destinated folder e.g. "Books". New filename to use the exact value I copy from File A. E.g., if the value is "Books - ANA", then the filename will be "Books - ANA.xls".
4. Repeat step 1. Copy data in Col B, Row 3 in File A.
5. Repeat step 2.
6. Repeat step 3.
7. Repeat step 1. If there's no data in Col B, Row 4 in File A, stop the process.
Thank you.
Bookmarks