Hi all,
So I read some topics on Google to solve this issue, but couldn't got it working.
Also I am still quite new with VBA and only know the basics, but eager to learn more about VBA.
My case is as follows:
We are making exports with around 250 columns of data, some of the columns are populated and others are not.
Now I found that not all export has 250 columns, some have more and some have less columns.
I want to setup 1 base sheet with all the columns and want to copy the details from the other sheets into that column.
It might be that there are columns where not all rows are populated, in this case I still want it to copy all the data.
The setup of the sheet will be:
- Name: "MainSheet" -> Here will be all the column headers and the data needs to be copied here.
- Name: "WeekA" -> Details of the first week of the month, these will be copied to MainSheet.
- Name: "WeekB" -> Details of the second week of the month, these will be copied to MainSheet.
- Name: "WeekC" -> Details of the thirds week of the month, these will be copied to MainSheet.
- Name: "WeekD" -> Details of the last week of the month, these will be copied to MainSheet.
Is there any code that can solve this issue?
Thanks in advance!
So I read some topics on Google to solve this issue, but couldn't got it working.
Also I am still quite new with VBA and only know the basics, but eager to learn more about VBA.
My case is as follows:
We are making exports with around 250 columns of data, some of the columns are populated and others are not.
Now I found that not all export has 250 columns, some have more and some have less columns.
I want to setup 1 base sheet with all the columns and want to copy the details from the other sheets into that column.
It might be that there are columns where not all rows are populated, in this case I still want it to copy all the data.
The setup of the sheet will be:
- Name: "MainSheet" -> Here will be all the column headers and the data needs to be copied here.
- Name: "WeekA" -> Details of the first week of the month, these will be copied to MainSheet.
- Name: "WeekB" -> Details of the second week of the month, these will be copied to MainSheet.
- Name: "WeekC" -> Details of the thirds week of the month, these will be copied to MainSheet.
- Name: "WeekD" -> Details of the last week of the month, these will be copied to MainSheet.
Is there any code that can solve this issue?
Thanks in advance!