Apologies, I should have tested that better, try this:
Sub sue_hendry()
Dim count, count_1
count_1 = 1
For count = 2 To 7
If Sheets("Sheet1").Range("Y" & count) = "Y" Then
Sheets("Sheet3").Range("A" & count_1 & ":S" & count_1).Value = Sheets("Sheet1").Range("A" & count & ":S" & count).Value
count_1 = count_1 + 1
End If
Next
End Sub
Change Sheet3 to the name of the sheet you want to put the data in, alternatively to add a sheet and put it in there:
Sub sue_hendry()
Dim count, count_1,ws
set ws = sheets.add
count_1 = 1
For count = 2 To 7
If Sheets("Sheet1").Range("Y" & count) = "Y" Then
ws.Range("A" & count_1 & ":S" & count_1).Value = Sheets("Sheet1").Range("A" & count & ":S" & count).Value
count_1 = count_1 + 1
End If
Next
End Sub
Bookmarks