Hi All,
I am trying to get a vba code to copy information from different files to one destination file but on different worksheets on the destination file.
The destination file is called "Master data file ".
The master file has worksheets named ""Sheet1","Project1" , "Project2", "Project3", "Project4", "Project5"............."Project13"
Sheet 1 on "The master data file " has the following list of file destinations from A2 onwards.
Each of these files mentioned above have a worksheet named "Budget". And in each "budget" tab there is a cell named "FY21 DATA" .
When the VBA code runs, for example, it should go to the file "C:\Users\user12\Downloads\Budget report\project1\Project1.xlsm" and then go to it's "Budget" tab , find the cell named" FY21 DATA" , copy and paste it to the "Project1" worksheet in the "master data file ". The same should happen for all projects till project 13.
I have uploaded an image of what the tabs in Master data file looks "
I am trying to get a vba code to copy information from different files to one destination file but on different worksheets on the destination file.
The destination file is called "Master data file ".
The master file has worksheets named ""Sheet1","Project1" , "Project2", "Project3", "Project4", "Project5"............."Project13"
Sheet 1 on "The master data file " has the following list of file destinations from A2 onwards.
C:\Users\user12\Downloads\Budget report\project1\Project1.xlsm |
C:\Users\user12\Downloads\Budget report\project2\Project2.xlsm |
C:\Users\user12\Downloads\Budget report\project3\Project3.xlsm |
C:\Users\user12\Downloads\Budget report\project4\Project4.xlsm |
C:\Users\user12\Downloads\Budget report\project5\Project5.xlsm |
C:\Users\user12\Downloads\Budget report\project6\Project6.xlsm |
C:\Users\user12\Downloads\Budget report\project7\Project7.xlsm |
C:\Users\user12\Downloads\Budget report\project8\Project8.xlsm |
C:\Users\user12\Downloads\Budget report\project9\Project9.xlsm |
C:\Users\user12\Downloads\Budget report\project10\Project10.xlsm |
C:\Users\user12\Downloads\Budget report\project11\Project11.xlsm |
C:\Users\user12\Downloads\Budget report\project12\Project12.xlsm |
C:\Users\user12\Downloads\Budget report\project13\Project13.xlsm |
Each of these files mentioned above have a worksheet named "Budget". And in each "budget" tab there is a cell named "FY21 DATA" .
When the VBA code runs, for example, it should go to the file "C:\Users\user12\Downloads\Budget report\project1\Project1.xlsm" and then go to it's "Budget" tab , find the cell named" FY21 DATA" , copy and paste it to the "Project1" worksheet in the "master data file ". The same should happen for all projects till project 13.
I have uploaded an image of what the tabs in Master data file looks "