Professional Documents
Culture Documents
r = 10
lastrow = 4
lastcol = Worksheets("sheet8").Cells(1, Column.Count).End(xlToLeft).Column
Stop
For i = 3 To lastcol
For j = 3 To 6
If Cells(j, i) <> "NA" Then
Cells(j, i).Copy Range("A" & r).PasteSpecial
r=r+1
End If
Next j
Next i
End Sub
Sub Rectangle1_Click()