I am looking for the most simple and/or effective way to load an entire worksheet into an array, and then selectively put data (by column) into a different workbook.
For example; lets say I have a worksheet with 15 columns and is X rows long. I put that data into an array. Now I only want to put the columns that I want into a new workbook - columns where the header = "Something Here".
I would load the array like this:
I know that I could loop through the array and do a Select Case to find the headers I want, like below, but that seems like it's more than it should be.
What I am looking for is something a lot more compact and simple... IF it's possible?
I'm assuming "Name" would have to be replace with some sort of FIND or SEARCH function.
Bookmarks