Hi
Add a new sheet to the workbook, called sheet2 then try
Sub aaa()
Dim OutSh As Worksheet
Set OutSh = Sheets("Sheet2")
OutSh.Range("A1:F1").Value = Array("ID", "Measure", "Choice", "Importance", "Fixed", "Bpost")
For i = 2 To Cells(Rows.Count, 1).End(xlUp).Row
For j = 2 To 32 Step 2
If Len(Cells(i, j)) > 0 Then
outrow = OutSh.Cells(Rows.Count, 1).End(xlUp).Offset(1, 0).Row
OutSh.Cells(outrow, 1).Value = Cells(i, 1).Value
OutSh.Cells(outrow, 2).Value = Cells(1, j).Value
OutSh.Cells(outrow, 3).Value = Cells(i, j).Value
OutSh.Cells(outrow, 4).Value = Cells(i, j + 1).Value
OutSh.Cells(outrow, 5).Value = Cells(i, "AH").Value
OutSh.Cells(outrow, 6).Value = Cells(i, "AI").Value
End If
Next j
Next i
End Sub
HTH
rylo
Bookmarks