Code to transform layout of existing data

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello,


I currently have a table filled with data from an access query that is in the following layout:

AP S-P WP DWG# DWGI Commit RfR
********************************************



I need to create a code that will cycle through all of these entries found in sheet1 and make a new layout like:


AP S-P WP DWG# A03 A02 A01 A00 Commit RfR
********************************************************



I need to sort thhrough the DWGI to seperate them in seperate columns. This way there is only row per DWG# and multiple columns depending on the maximum DWGI

Thank you for the help,

Daniel
 
This could probably be accomplished fairly easily with a pivot table (under
the data menu). I assume at least some of columns are numbers? Even if
not, you might be able to use it to build the initial table, then use the
results to build the table in the exact column order you want.



Daniel said:
Hello,


I currently have a table filled with data from an access query that is in the following layout:

AP S-P WP DWG# DWGI Commit RfR
********************************************



I need to create a code that will cycle through all of these entries found
in sheet1 and make a new layout like:
AP S-P WP DWG# A03 A02 A01 A00 Commit RfR
********************************************************



I need to sort thhrough the DWGI to seperate them in seperate columns.
This way there is only row per DWG# and multiple columns depending on the
maximum DWGI
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top