I have recently inherited a project that has a macro written already. I am very inexperienced with VBA, so I do not know how to modify the macro in a way that will accomplish the new demands of the project.
The macro is designed to take a table of product specifications that are sorted out into columns and transform that data into individual rows for each specification. Currently the macro does just that, but it has some problems / limitations.
I would like the macro to (1) sort the data in column A by product number, (2) keep the existing table of data intact so that if changes need to be made to the table, the macro can be re-run and (3) Copy the table to a new sheet to be used as a backup. Currently the macro works by deleting the whole table and building a new one.
I have attached a sample of what I start with, what I get, and what I would like to end with. Keep in mind that the amount of data being worked on in a real scenario will have dozens of columns that will change with each new task (Meaning I need the macro to be flexible in counting the number of columns that are populated rather than just worked with a pre-defined range).
This is the relevant part of macro that's doing the work:
Thanks for any and all help.
Bookmarks