I've tried to google high and low for this, but I haven't gotten ANYWHERE. Please, someone help!!!
I've got a workbook with 5 worksheets. Every workbook has Row 1 as column headers. Some of the column headers are common to all worksheets, but some worksheets have their own unique headers. They are NOT consistently in the same order.
Ex: They all share a column with the header "Name", "Date", and "Address". Some sheets have additional columns like "Price" or "Unit". Some sheets have "Price" as Column A, whereas some have "Name" as Column A. There is no pattern that can be used for the VBA.
I have a destination worksheet with headers "Name" "Date" and "Address". I want a VBA that will cycle through all of the tabs, and ONLY paste the information from "Name" "Date" and "Address" and ignore other columns (like "Price" or "Unit"), pasting the information from Sheet 1, then when that's all done, move to Sheet 2 and start pasting that information right below what was pasted from Sheet 1.
The macro will need to utilize the column header text so that it knows what info to copy and paste because the columns are not in the same order on the various other sheets. I just don't know how to do that with formulas or where to begin with a macro. Please, someone help!!!!!
I've got a workbook with 5 worksheets. Every workbook has Row 1 as column headers. Some of the column headers are common to all worksheets, but some worksheets have their own unique headers. They are NOT consistently in the same order.
Ex: They all share a column with the header "Name", "Date", and "Address". Some sheets have additional columns like "Price" or "Unit". Some sheets have "Price" as Column A, whereas some have "Name" as Column A. There is no pattern that can be used for the VBA.
I have a destination worksheet with headers "Name" "Date" and "Address". I want a VBA that will cycle through all of the tabs, and ONLY paste the information from "Name" "Date" and "Address" and ignore other columns (like "Price" or "Unit"), pasting the information from Sheet 1, then when that's all done, move to Sheet 2 and start pasting that information right below what was pasted from Sheet 1.
The macro will need to utilize the column header text so that it knows what info to copy and paste because the columns are not in the same order on the various other sheets. I just don't know how to do that with formulas or where to begin with a macro. Please, someone help!!!!!