Hi,
Its just a small consistency issue.
In your first file the order of the columns was like this:
Attachment 315615
Since Plant, Trench, Sectors,Timestamp and Mean Area are all static, I kept them on the left and moved Parameter to the right, next to Sec_0. This makes it easier for the macro to process.
Notice the code to move the Parameter (D column) to the G column position:
Attachment 315617
In the second file the order is different:
Attachment 315618
So now what happens when you run the macro is that it moves the Mean_area into the G column position and creates column headings from that.
I'd recommend that before you run the macro on different files, first ensure the column order is as follows:
Plant, Trench, Sectors, Parameter, Timestamp, Mean_area_3d, Sec_0_area_3d
Hope this is clear...

Bookmarks