Hi guys, a while ago someone on here kindly gave me the following code which solved a requirement I had to essentially un-pivot a data table.
What I now need the code to do is to keep the first five columns but un-pivot the remaining 12 columns so that each row of data has first five columns from the original data and then the column header of the remaining columns followed by the data in the corresponding cell.
The code below just gives me the first two columns and then the column header and the data and I have spent hours trying to work out what to change to gert the first five columns plus the data.
If anyone can help me out i'd be so grateful - here's the code
Thanks for your time and patience![]()
Please Login or Register to view this content.
Bookmarks