Hi all, apologies for what may well be a simple request looking for some help in creating a macro that is beyond my capabilities!
I have a file with multiple tabs, one of which is an "Output" tab and there are many others (more than 50) that contain data with identical column names. There are other tabs in the file as well but these are not relevant to this exercise.
In my 50ish data tabs I have 5 columns of data each with a different number of populated rows. I'd like to take all the data from columns A & C from each tab and merge them together in my Output tab as column A & B. Nothing fancy, just one set of data on top of the other. Additionally I'd like to add a third column which is populated with the worksheet name from which that row of data came from. The number of worksheets included in this range will change from time to time so ideally I'd like to be able to have a list that I can add/subtract tab names for the macro to reference.
I did try a Power Query option by appending the data but due to the amount of data/tabs it was taking far too long to refresh so I'm hoping VBA will be the solution. Thanks in advance for any advice.
I have a file with multiple tabs, one of which is an "Output" tab and there are many others (more than 50) that contain data with identical column names. There are other tabs in the file as well but these are not relevant to this exercise.
In my 50ish data tabs I have 5 columns of data each with a different number of populated rows. I'd like to take all the data from columns A & C from each tab and merge them together in my Output tab as column A & B. Nothing fancy, just one set of data on top of the other. Additionally I'd like to add a third column which is populated with the worksheet name from which that row of data came from. The number of worksheets included in this range will change from time to time so ideally I'd like to be able to have a list that I can add/subtract tab names for the macro to reference.
I did try a Power Query option by appending the data but due to the amount of data/tabs it was taking far too long to refresh so I'm hoping VBA will be the solution. Thanks in advance for any advice.