Hi, I would appreciate some help with creating a macro that will handle a couple of different variables including:
- varying number of rows
- varying row criteria
- paste in specific columns in another sheet
- keep collective order number information together during the transpose + column paste process (very important). The collective data is separated by varying number of empty rows. In the attached example, there are 4 collective data sets. Collective data sets will increase daily when form is refreshed
- data that will be updated daily and in turn require ability to update macro as needed.
Currently, I have a file (using queries & connections) that combines all of the data from files saved into a specific folder when I click on the "refresh all" option. This works well, but now I would like to transpose sets of data from rows into columns, and then have that pasted in another sheet according to specific columns.
The data in C:D are what need to be manipulated. Because the data in columns f and g can be varying number of rows, the spacing between collective order numbers can also have varying number of empty rows.
The file attached shows an example of what I currently have in sheet 1 and sheet 2 shows what I would like the macro to give me.
On sheet 2, the columns needed are in row 1.
Bookmarks