I need help for part of a VBA function that will find nine different header titles in the header row and then select all of those columns so they can be pasted into another worksheet. The location of the headers changes constantly, so my thought was a "Match" statement could return the column numbers and then those columns could be selected. The headers include "Item Number", "Item Description", "Ship Date" and so on.
If anyone could suggest how the Match function could be used in VBA to accomplish this, or if there are other suggestions, I'd be greatly appreciative.
I'm using Excel 2010. Thanks!
If anyone could suggest how the Match function could be used in VBA to accomplish this, or if there are other suggestions, I'd be greatly appreciative.
I'm using Excel 2010. Thanks!