Dear Experts,
I intend to re-arrange the data generated by system. I am using Office 2010
Current Format:
Mat No Cost1 Cost2 Cost3
A 5 3 2
B 6 9 3
C 7 6 2
To be Format:
Mat No
A 5 Cost1
B 6 Cost1
C 7 Cost1
A 3 Cost2
B 9 Cost2
C 6 Cost2
A 2 Cost3
B 3 Cost3
C 2 Cost3
Will be greatful if anybody can suggest the VB code for the rearrangement. The 'Mat No' header is optional, it may or may not appear in the 'to be' format - whichever is easier.
Regards
I intend to re-arrange the data generated by system. I am using Office 2010
Current Format:
Mat No Cost1 Cost2 Cost3
A 5 3 2
B 6 9 3
C 7 6 2
To be Format:
Mat No
A 5 Cost1
B 6 Cost1
C 7 Cost1
A 3 Cost2
B 9 Cost2
C 6 Cost2
A 2 Cost3
B 3 Cost3
C 2 Cost3
Will be greatful if anybody can suggest the VB code for the rearrangement. The 'Mat No' header is optional, it may or may not appear in the 'to be' format - whichever is easier.
Regards