I'm still very new to macros so I’m not sure if a macro can be done for this.
I have a primary workbook (Workbook A) with 30 columns with titles. Data from other workbooks needs to be imported into Workbook A.
The issue is, the columns from the various workbooks do not match the columns in Workbook A. For example the other spreadsheets have like 15 columns with titles that aren’t exactly the same as Workbook A’s titles.
Some of the data will match up to Workbook A but some of Workbook A’s columns will need to have data manually input into them.
Also, I need each new set of data that is imported to go to the next available empty row of Workbook A instead of copying over the existing data in the spreadsheet. And if the other spreadsheets have some rows without data can the macro skip those rows and go to the next row with data?
I’ve worked with macros that completely transpose a tab and I was able to work with a code that will just copy and paste the data straight into the other sheet exactly as it is, but this is much more complex as the data isn't going to the same corresponding cell in the workbook.
I've attached an Excel file that just gives an example of what I mean when I say that Workbook A's titles don't match up with the titles of the data I'm trying to import and some of it needs to be entered manually.
Bookmarks