animeshpreetam
New Member
- Joined
- May 21, 2016
- Messages
- 1
I have multiple workbook (around 60), which I have to copy & save in different folder as month change but workbooks name remain same. So, for Jan month path will be:- C:\2016\Jan\WB1.xls, in Feb it will be:- C:\2016\Feb\WB1.xls and so on.....
Data also changes each month. There is tab named "Journal" tab in each 60 workbooks and I have to copy data from "Journal" tab in each workbook and paste in a single worksheet; call it Upload.xls.....Now instead of copying and pasting every time I wanted to apply simple link, but that would not work as path for both source and destination file changes every month. So, I want to write Macro now. But, I want to make a list of path for all workbooks and use it as reference in Macro, so that next month when my files are saved in new folder, I will just update the list of path and Macro would automatically pick data from new folder and save it in Upload worksheet. Is it possible? If reference is not possible this way then can anyone suggest simple Macro to copy & paste data or is there any way to link my Upload.xls to source files so that even path changes for source files, my worksheet Upload.xls also changes without macro. Thanks in advance!!
Data also changes each month. There is tab named "Journal" tab in each 60 workbooks and I have to copy data from "Journal" tab in each workbook and paste in a single worksheet; call it Upload.xls.....Now instead of copying and pasting every time I wanted to apply simple link, but that would not work as path for both source and destination file changes every month. So, I want to write Macro now. But, I want to make a list of path for all workbooks and use it as reference in Macro, so that next month when my files are saved in new folder, I will just update the list of path and Macro would automatically pick data from new folder and save it in Upload worksheet. Is it possible? If reference is not possible this way then can anyone suggest simple Macro to copy & paste data or is there any way to link my Upload.xls to source files so that even path changes for source files, my worksheet Upload.xls also changes without macro. Thanks in advance!!