Hi there and thanks in advance for any help and tips.
So I am new to VBA and have just started playing around with it about two weeks ago.
I have been searching and haven't been able to find a solution for the problem I am hoping to solve.
I have two folders.
The name of the first folder is "Individual Trackers"
In the first folder are excel workbooks that are each titled "Person'sname_Tracker" so "John_Tracker" for example.
The workbooks contain one sheet with a header in row A and the number of rows with data varies from day to day.
The name of the second folder is "Individual Historic"
There are corresponding workbooks for each file in the "Individual Tracker" folder and are all titled as "Person'sname_Historic" so "John_Historic" for example.
What I am looking for is a macro that would open the first file in the tracker folder, copy all data from row B until the last row with data in it, paste it to the next available row in the corresponding file in the historic folder, then delete the data from the file in the first folder, and loop through until all files have been gone through.
If you have any ideas on how to make this work it would be greatly appreciated.
If need be the macro doesn't need to delete the data from the files in the first folder, as I already have a macro that is able to do just this part so i could just call it at the end of this one.
So I am new to VBA and have just started playing around with it about two weeks ago.
I have been searching and haven't been able to find a solution for the problem I am hoping to solve.
I have two folders.
The name of the first folder is "Individual Trackers"
In the first folder are excel workbooks that are each titled "Person'sname_Tracker" so "John_Tracker" for example.
The workbooks contain one sheet with a header in row A and the number of rows with data varies from day to day.
The name of the second folder is "Individual Historic"
There are corresponding workbooks for each file in the "Individual Tracker" folder and are all titled as "Person'sname_Historic" so "John_Historic" for example.
What I am looking for is a macro that would open the first file in the tracker folder, copy all data from row B until the last row with data in it, paste it to the next available row in the corresponding file in the historic folder, then delete the data from the file in the first folder, and loop through until all files have been gone through.
If you have any ideas on how to make this work it would be greatly appreciated.
If need be the macro doesn't need to delete the data from the files in the first folder, as I already have a macro that is able to do just this part so i could just call it at the end of this one.