dontakeshat
New Member
Kind of a weird question, but I need help with VBA in Excel. So I have three spreadsheets in the same workbook. Lets call them Source, Destination, and Table.
Source: Contains data I want to copy into the destination
Destination: Contains blank fields I want to fill using the table data from the source sheet
Table: contains a table that has two columns with headers (S, D). There is a letter in each row denoting which column matches where. I.E A2 is A and B2 is C. This shows where the data from column A in the source worksheet should be copied into column C in the Destination sheet. To further complicate this, the macro should be able to work if for example A2 is changed to B, then the B column from the source sheet should be copied into the C column in the destination sheet.
Any help at all is welcome and much appreciated.
Source: Contains data I want to copy into the destination
Destination: Contains blank fields I want to fill using the table data from the source sheet
Table: contains a table that has two columns with headers (S, D). There is a letter in each row denoting which column matches where. I.E A2 is A and B2 is C. This shows where the data from column A in the source worksheet should be copied into column C in the Destination sheet. To further complicate this, the macro should be able to work if for example A2 is changed to B, then the B column from the source sheet should be copied into the C column in the destination sheet.
Any help at all is welcome and much appreciated.