Hello,
In Excel 2003/XP/2000/97, how do I write a macro that will look for selected column headers . If found, it will copy that entire column to a new sheet in that same file?
For example, if my column headers look like this,
"Product ID" "Product Name" "Unit Price" "Units In Stock" "Description"
I need to pull all the rows under ProductID, UnitPrice, 'Units in stock" into a new sheet and group the identical products with Total of "units in stock"
Thanks,
Configuration: Windows Vista Internet Explorer 7.0
I am assuming the sheet you want to transfer to has the three heading names in the order you stated.
|