Andi Baciu
New Member
- Joined
- Feb 18, 2021
- Messages
- 2
- Office Version
- 365
- 2019
- Platform
- Windows
Hello,
.
I have a favour to ask you. I need a bit of help regarding a work-related situation.
We every day receive around 20-60 excel that we need to work on them. After that, we need to copy all of the data from them into a general one.
So I need a Macro that can copy the data from Excel 1 into Master 1. (doesn't matter if Master 1 is closed or not)
But:
Master 1 every day change the name like (Data 28.02.2021 to Data 31.03.2021 (this was an example)). The good thing is that this Excel will always be in the same location (on desktop in a folder with the same name).
Every excel file that we work on have a different name, with a different number of rows, but always the same columns, and only 1 sheet.
The Excels that we work on have the Columns A:D (We need to copy Starting from A2 to Dx (we don't have the same exact row numbers) and after we copy the data from Excel 1, into Master 1, the data from Excel 2 should be right after data from Excel 1.
We need to copy those data to the Master excel on the columns C : F.
After that, on the Master 1, we have columns A,B,G without data. We have to introduce these as well.
This information is in the Excel 1 title and they are Location(need's to go to A column in Master 1), Data(need's to go to B column in Master 1), Colour(need's to go to G column in Master 1).
I can write these information on Excel 1 on Row 4 For G-LOCATION, H-DATE, I-COLOUR and from here to import into Master 1 on the columns I wrote up (A,B,G). We need to be careful for the date to be the same in all the rows from Master( if we have 150 rows from Excel 1, we need to have the exact date to all rows, the same for colour and location). Hope this makes sense to someone and be able to help me. Thank you in advance. I attached a few pictures maybe it will help you.
The first picture is the Master 1 and how it should look. The second picture is the Excel 1 file that we have the data(you can see the title( we have the colour(rosii), titan(name), date(09.02.2021), and the third photo is the Master without information on columns A,B,G .
Thank you in advance !
.
I have a favour to ask you. I need a bit of help regarding a work-related situation.
We every day receive around 20-60 excel that we need to work on them. After that, we need to copy all of the data from them into a general one.
So I need a Macro that can copy the data from Excel 1 into Master 1. (doesn't matter if Master 1 is closed or not)
But:
Master 1 every day change the name like (Data 28.02.2021 to Data 31.03.2021 (this was an example)). The good thing is that this Excel will always be in the same location (on desktop in a folder with the same name).
Every excel file that we work on have a different name, with a different number of rows, but always the same columns, and only 1 sheet.
The Excels that we work on have the Columns A:D (We need to copy Starting from A2 to Dx (we don't have the same exact row numbers) and after we copy the data from Excel 1, into Master 1, the data from Excel 2 should be right after data from Excel 1.
We need to copy those data to the Master excel on the columns C : F.
After that, on the Master 1, we have columns A,B,G without data. We have to introduce these as well.
This information is in the Excel 1 title and they are Location(need's to go to A column in Master 1), Data(need's to go to B column in Master 1), Colour(need's to go to G column in Master 1).
I can write these information on Excel 1 on Row 4 For G-LOCATION, H-DATE, I-COLOUR and from here to import into Master 1 on the columns I wrote up (A,B,G). We need to be careful for the date to be the same in all the rows from Master( if we have 150 rows from Excel 1, we need to have the exact date to all rows, the same for colour and location). Hope this makes sense to someone and be able to help me. Thank you in advance. I attached a few pictures maybe it will help you.
The first picture is the Master 1 and how it should look. The second picture is the Excel 1 file that we have the data(you can see the title( we have the colour(rosii), titan(name), date(09.02.2021), and the third photo is the Master without information on columns A,B,G .
Thank you in advance !