Dim cl As Range
For Each cl In Sheets("Blad4").Range("E2:DZ2")
If cl = "O" Then cl.Offset(-1, 0).Copy Sheets("Maandag").Cells(Rows.Count, 2).End(xlUp).Offset(1)
If cl = "D" Then cl.Offset(-1, 0).Copy Sheets("Maandag").Cells(Rows.Count, 3).End(xlUp).Offset(1)
If cl = "M" Then cl.Offset(-1, 0).Copy Sheets("Maandag").Cells(Rows.Count, 4).End(xlUp).Offset(1)
If cl = "N" Then cl.Offset(-1, 0).Copy Sheets("Maandag").Cells(Rows.Count, 5).End(xlUp).Offset(1)
If cl = "" Then cl.Offset(-1, 0).Copy Sheets("Maandag").Cells(Rows.Count, 6).End(xlUp).Offset(1)
If cl = "RV" Then cl.Offset(-1, 0).Copy Sheets("Maandag").Cells(Rows.Count, 6).End(xlUp).Offset(1)
If cl = "V" Then cl.Offset(-1, 0).Copy Sheets("Maandag").Cells(Rows.Count, 7).End(xlUp).Offset(1)
If cl = "LZ" Then cl.Offset(-1, 0).Copy Sheets("Maandag").Cells(Rows.Count, 8).End(xlUp).Offset(1)
If cl = "OM" Then
cl.Offset(-1, 0).Copy Sheets("Maandag").Cells(Rows.Count, 2).End(xlUp).Offset(1)
cl.Offset(-1, 0).Copy Sheets("Maandag").Cells(Rows.Count, 4).End(xlUp).Offset(1)
End If
If cl = "MN" Then
cl.Offset(-1, 0).Copy Sheets("Maandag").Cells(Rows.Count, 4).End(xlUp).Offset(1)
cl.Offset(-1, 0).Copy Sheets("Maandag").Cells(Rows.Count, 5).End(xlUp).Offset(1)
End If
If cl = "NO" Then
cl.Offset(-1, 0).Copy Sheets("Maandag").Cells(Rows.Count, 6).End(xlUp).Offset(1)
cl.Offset(-1, 0).Copy Sheets("Dinsdag").Cells(Rows.Count, 2).End(xlUp).Offset(1)
End If
If cl = "OMN" Then
cl.Offset(-1, 0).Copy Sheets("Maandag").Cells(Rows.Count, 2).End(xlUp).Offset(1)
cl.Offset(-1, 0).Copy Sheets("Maandag").Cells(Rows.Count, 4).End(xlUp).Offset(1)
cl.Offset(-1, 0).Copy Sheets("Maandag").Cells(Rows.Count, 5).End(xlUp).Offset(1)
End If
If cl = "OT" Then
cl.Offset(-1, 0).Copy Sheets("Maandag").Cells(Rows.Count, 2).End(xlUp).Offset(1)
cl.Offset(-1, 0).Copy Sheets("Maandag").Cells(Rows.Count, 9).End(xlUp).Offset(1)
End If
If cl = "MT" Then
cl.Offset(-1, 0).Copy Sheets("Maandag").Cells(Rows.Count, 4).End(xlUp).Offset(1)
cl.Offset(-1, 0).Copy Sheets("Maandag").Cells(Rows.Count, 10).End(xlUp).Offset(1)
End If
If cl = "NT" Then
cl.Offset(-1, 0).Copy Sheets("Maandag").Cells(Rows.Count, 5).End(xlUp).Offset(1)
cl.Offset(-1, 0).Copy Sheets("Maandag").Cells(Rows.Count, 11).End(xlUp).Offset(1)
End If
If cl = "OE" Then
cl.Offset(-1, 0).Copy Sheets("Maandag").Cells(Rows.Count, 2).End(xlUp).Offset(1)
cl.Offset(-1, 0).Copy Sheets("Maandag").Cells(Rows.Count, 12).End(xlUp).Offset(1)
End If
If cl = "ME" Then
cl.Offset(-1, 0).Copy Sheets("Maandag").Cells(Rows.Count, 4).End(xlUp).Offset(1)
cl.Offset(-1, 0).Copy Sheets("Maandag").Cells(Rows.Count, 13).End(xlUp).Offset(1)
End If
If cl = "NE" Then
cl.Offset(-1, 0).Copy Sheets("Maandag").Cells(Rows.Count, 5).End(xlUp).Offset(1)
cl.Offset(-1, 0).Copy Sheets("Maandag").Cells(Rows.Count, 14).End(xlUp).Offset(1)
End If
If cl = "OR" Then
cl.Offset(-1, 0).Copy Sheets("Maandag").Cells(Rows.Count, 2).End(xlUp).Offset(1)
cl.Offset(-1, 0).Copy Sheets("Maandag").Cells(Rows.Count, 15).End(xlUp).Offset(1)
End If
If cl = "MR" Then
cl.Offset(-1, 0).Copy Sheets("Maandag").Cells(Rows.Count, 4).End(xlUp).Offset(1)
cl.Offset(-1, 0).Copy Sheets("Maandag").Cells(Rows.Count, 16).End(xlUp).Offset(1)
End If
If cl = "NR" Then
cl.Offset(-1, 0).Copy Sheets("Maandag").Cells(Rows.Count, 5).End(xlUp).Offset(1)
cl.Offset(-1, 0).Copy Sheets("Maandag").Cells(Rows.Count, 17).End(xlUp).Offset(1)
End If
If cl = "OS" Then
cl.Offset(-1, 0).Copy Sheets("Maandag").Cells(Rows.Count, 2).End(xlUp).Offset(1)
cl.Offset(-1, 0).Copy Sheets("Maandag").Cells(Rows.Count, 18).End(xlUp).Offset(1)
End If
If cl = "MS" Then
cl.Offset(-1, 0).Copy Sheets("Maandag").Cells(Rows.Count, 4).End(xlUp).Offset(1)
cl.Offset(-1, 0).Copy Sheets("Maandag").Cells(Rows.Count, 19).End(xlUp).Offset(1)
End If
If cl = "NS" Then
cl.Offset(-1, 0).Copy Sheets("Maandag").Cells(Rows.Count, 5).End(xlUp).Offset(1)
cl.Offset(-1, 0).Copy Sheets("Maandag").Cells(Rows.Count, 20).End(xlUp).Offset(1)
End If
Next
For Each cl In Sheets("Blad4").Range("E3:DZ3")
If cl = "O" Then cl.Offset(-2, 0).Copy Sheets("Dinsdag").Cells(Rows.Count, 2).End(xlUp).Offset(1)
If cl = "D" Then cl.Offset(-2, 0).Copy Sheets("Dinsdag").Cells(Rows.Count, 3).End(xlUp).Offset(1)
If cl = "M" Then cl.Offset(-2, 0).Copy Sheets("Dinsdag").Cells(Rows.Count, 4).End(xlUp).Offset(1)
If cl = "N" Then cl.Offset(-2, 0).Copy Sheets("Dinsdag").Cells(Rows.Count, 5).End(xlUp).Offset(1)
If cl = "" Then cl.Offset(-2, 0).Copy Sheets("Dinsdag").Cells(Rows.Count, 6).End(xlUp).Offset(1)
If cl = "RV" Then cl.Offset(-2, 0).Copy Sheets("Dinsdag").Cells(Rows.Count, 6).End(xlUp).Offset(1)
If cl = "V" Then cl.Offset(-2, 0).Copy Sheets("Dinsdag").Cells(Rows.Count, 7).End(xlUp).Offset(1)
If cl = "LZ" Then cl.Offset(-2, 0).Copy Sheets("Dinsdag").Cells(Rows.Count, 8).End(xlUp).Offset(1)
If cl = "OM" Then
cl.Offset(-2, 0).Copy Sheets("Dinsdag").Cells(Rows.Count, 2).End(xlUp).Offset(1)
cl.Offset(-2, 0).Copy Sheets("Dinsdag").Cells(Rows.Count, 4).End(xlUp).Offset(1)
End If
If cl = "MN" Then
cl.Offset(-2, 0).Copy Sheets("Dinsdag").Cells(Rows.Count, 4).End(xlUp).Offset(1)
cl.Offset(-2, 0).Copy Sheets("Dinsdag").Cells(Rows.Count, 5).End(xlUp).Offset(1)
End If
If cl = "NO" Then
cl.Offset(-2, 0).Copy Sheets("Dinsdag").Cells(Rows.Count, 6).End(xlUp).Offset(1)
cl.Offset(-2, 0).Copy Sheets("Woensdag").Cells(Rows.Count, 2).End(xlUp).Offset(1)
End If
If cl = "OMN" Then
cl.Offset(-2, 0).Copy Sheets("Dinsdag").Cells(Rows.Count, 2).End(xlUp).Offset(1)
cl.Offset(-2, 0).Copy Sheets("Dinsdag").Cells(Rows.Count, 4).End(xlUp).Offset(1)
cl.Offset(-2, 0).Copy Sheets("Dinsdag").Cells(Rows.Count, 5).End(xlUp).Offset(1)
End If
If cl = "OT" Then
cl.Offset(-2, 0).Copy Sheets("Dinsdag").Cells(Rows.Count, 2).End(xlUp).Offset(1)
cl.Offset(-2, 0).Copy Sheets("Dinsdag").Cells(Rows.Count, 9).End(xlUp).Offset(1)
End If
If cl = "MT" Then
cl.Offset(-2, 0).Copy Sheets("Dinsdag").Cells(Rows.Count, 4).End(xlUp).Offset(1)
cl.Offset(-2, 0).Copy Sheets("Dinsdag").Cells(Rows.Count, 10).End(xlUp).Offset(1)
End If
If cl = "NT" Then
cl.Offset(-2, 0).Copy Sheets("Dinsdag").Cells(Rows.Count, 5).End(xlUp).Offset(1)
cl.Offset(-2, 0).Copy Sheets("Dinsdag").Cells(Rows.Count, 11).End(xlUp).Offset(1)
End If
If cl = "OE" Then
cl.Offset(-2, 0).Copy Sheets("Dinsdag").Cells(Rows.Count, 2).End(xlUp).Offset(1)
cl.Offset(-2, 0).Copy Sheets("Dinsdag").Cells(Rows.Count, 12).End(xlUp).Offset(1)
End If
If cl = "ME" Then
cl.Offset(-2, 0).Copy Sheets("Dinsdag").Cells(Rows.Count, 4).End(xlUp).Offset(1)
cl.Offset(-2, 0).Copy Sheets("Dinsdag").Cells(Rows.Count, 13).End(xlUp).Offset(1)
End If
If cl = "NE" Then
cl.Offset(-2, 0).Copy Sheets("Dinsdag").Cells(Rows.Count, 5).End(xlUp).Offset(1)
cl.Offset(-2, 0).Copy Sheets("Dinsdag").Cells(Rows.Count, 14).End(xlUp).Offset(1)
End If
If cl = "OR" Then
cl.Offset(-2, 0).Copy Sheets("Dinsdag").Cells(Rows.Count, 2).End(xlUp).Offset(1)
cl.Offset(-2, 0).Copy Sheets("Dinsdag").Cells(Rows.Count, 15).End(xlUp).Offset(1)
End If
If cl = "MR" Then
cl.Offset(-2, 0).Copy Sheets("Dinsdag").Cells(Rows.Count, 4).End(xlUp).Offset(1)
cl.Offset(-2, 0).Copy Sheets("Dinsdag").Cells(Rows.Count, 16).End(xlUp).Offset(1)
End If
If cl = "NR" Then
cl.Offset(-2, 0).Copy Sheets("Dinsdag").Cells(Rows.Count, 5).End(xlUp).Offset(1)
cl.Offset(-2, 0).Copy Sheets("Dinsdag").Cells(Rows.Count, 17).End(xlUp).Offset(1)
End If
If cl = "OS" Then
cl.Offset(-2, 0).Copy Sheets("Dinsdag").Cells(Rows.Count, 2).End(xlUp).Offset(1)
cl.Offset(-2, 0).Copy Sheets("Dinsdag").Cells(Rows.Count, 18).End(xlUp).Offset(1)
End If
If cl = "MS" Then
cl.Offset(-2, 0).Copy Sheets("Dinsdag").Cells(Rows.Count, 4).End(xlUp).Offset(1)
cl.Offset(-2, 0).Copy Sheets("Dinsdag").Cells(Rows.Count, 19).End(xlUp).Offset(1)
End If
If cl = "NS" Then
cl.Offset(-2, 0).Copy Sheets("Dinsdag").Cells(Rows.Count, 5).End(xlUp).Offset(1)
cl.Offset(-2, 0).Copy Sheets("Dinsdag").Cells(Rows.Count, 20).End(xlUp).Offset(1)
End If
Next
For Each cl In Sheets("Blad4").Range("E4:DZ4")
If cl = "O" Then cl.Offset(-3, 0).Copy Sheets("Woensdag").Cells(Rows.Count, 2).End(xlUp).Offset(1)
If cl = "D" Then cl.Offset(-3, 0).Copy Sheets("Woensdag").Cells(Rows.Count, 3).End(xlUp).Offset(1)
If cl = "M" Then cl.Offset(-3, 0).Copy Sheets("Woensdag").Cells(Rows.Count, 4).End(xlUp).Offset(1)
If cl = "N" Then cl.Offset(-3, 0).Copy Sheets("Woensdag").Cells(Rows.Count, 5).End(xlUp).Offset(1)
If cl = "" Then cl.Offset(-3, 0).Copy Sheets("Woensdag").Cells(Rows.Count, 6).End(xlUp).Offset(1)
If cl = "RV" Then cl.Offset(-3, 0).Copy Sheets("Woensdag").Cells(Rows.Count, 6).End(xlUp).Offset(1)
If cl = "V" Then cl.Offset(-3, 0).Copy Sheets("Woensdag").Cells(Rows.Count, 7).End(xlUp).Offset(1)
If cl = "LZ" Then cl.Offset(-3, 0).Copy Sheets("Woensdag").Cells(Rows.Count, 8).End(xlUp).Offset(1)
If cl = "OM" Then
cl.Offset(-3, 0).Copy Sheets("Woensdag").Cells(Rows.Count, 2).End(xlUp).Offset(1)
cl.Offset(-3, 0).Copy Sheets("Woensdag").Cells(Rows.Count, 4).End(xlUp).Offset(1)
End If
If cl = "MN" Then
cl.Offset(-3, 0).Copy Sheets("Woensdag").Cells(Rows.Count, 4).End(xlUp).Offset(1)
cl.Offset(-3, 0).Copy Sheets("Woensdag").Cells(Rows.Count, 5).End(xlUp).Offset(1)
End If
If cl = "NO" Then
cl.Offset(-3, 0).Copy Sheets("Woensdag").Cells(Rows.Count, 6).End(xlUp).Offset(1)
cl.Offset(-3, 0).Copy Sheets("Donderdag").Cells(Rows.Count, 2).End(xlUp).Offset(1)
End If
If cl = "OMN" Then
cl.Offset(-3, 0).Copy Sheets("Woensdag").Cells(Rows.Count, 2).End(xlUp).Offset(1)
cl.Offset(-3, 0).Copy Sheets("Woensdag").Cells(Rows.Count, 4).End(xlUp).Offset(1)
cl.Offset(-3, 0).Copy Sheets("Woensdag").Cells(Rows.Count, 5).End(xlUp).Offset(1)
End If
If cl = "OT" Then
cl.Offset(-3, 0).Copy Sheets("Woensdag").Cells(Rows.Count, 2).End(xlUp).Offset(1)
cl.Offset(-3, 0).Copy Sheets("Woensdag").Cells(Rows.Count, 9).End(xlUp).Offset(1)
End If
If cl = "MT" Then
cl.Offset(-3, 0).Copy Sheets("Woensdag").Cells(Rows.Count, 4).End(xlUp).Offset(1)
cl.Offset(-3, 0).Copy Sheets("Woensdag").Cells(Rows.Count, 10).End(xlUp).Offset(1)
End If
If cl = "NT" Then
cl.Offset(-3, 0).Copy Sheets("Woensdag").Cells(Rows.Count, 5).End(xlUp).Offset(1)
cl.Offset(-3, 0).Copy Sheets("Woensdag").Cells(Rows.Count, 11).End(xlUp).Offset(1)
End If
If cl = "OE" Then
cl.Offset(-3, 0).Copy Sheets("Woensdag").Cells(Rows.Count, 2).End(xlUp).Offset(1)
cl.Offset(-3, 0).Copy Sheets("Woensdag").Cells(Rows.Count, 12).End(xlUp).Offset(1)
End If
If cl = "ME" Then
cl.Offset(-3, 0).Copy Sheets("Woensdag").Cells(Rows.Count, 4).End(xlUp).Offset(1)
cl.Offset(-3, 0).Copy Sheets("Woensdag").Cells(Rows.Count, 13).End(xlUp).Offset(1)
End If
If cl = "NE" Then
cl.Offset(-3, 0).Copy Sheets("Woensdag").Cells(Rows.Count, 5).End(xlUp).Offset(1)
cl.Offset(-3, 0).Copy Sheets("Woensdag").Cells(Rows.Count, 14).End(xlUp).Offset(1)
End If
If cl = "OR" Then
cl.Offset(-3, 0).Copy Sheets("Woensdag").Cells(Rows.Count, 2).End(xlUp).Offset(1)
cl.Offset(-3, 0).Copy Sheets("Woensdag").Cells(Rows.Count, 15).End(xlUp).Offset(1)
End If
If cl = "MR" Then
cl.Offset(-3, 0).Copy Sheets("Woensdag").Cells(Rows.Count, 4).End(xlUp).Offset(1)
cl.Offset(-3, 0).Copy Sheets("Woensdag").Cells(Rows.Count, 16).End(xlUp).Offset(1)
End If
If cl = "NR" Then
cl.Offset(-3, 0).Copy Sheets("Woensdag").Cells(Rows.Count, 5).End(xlUp).Offset(1)
cl.Offset(-3, 0).Copy Sheets("Woensdag").Cells(Rows.Count, 17).End(xlUp).Offset(1)
End If
If cl = "OS" Then
cl.Offset(-3, 0).Copy Sheets("Woensdag").Cells(Rows.Count, 2).End(xlUp).Offset(1)
cl.Offset(-3, 0).Copy Sheets("Woensdag").Cells(Rows.Count, 18).End(xlUp).Offset(1)
End If
If cl = "MS" Then
cl.Offset(-3, 0).Copy Sheets("Woensdag").Cells(Rows.Count, 4).End(xlUp).Offset(1)
cl.Offset(-3, 0).Copy Sheets("Woensdag").Cells(Rows.Count, 19).End(xlUp).Offset(1)
End If
If cl = "NS" Then
cl.Offset(-3, 0).Copy Sheets("Woensdag").Cells(Rows.Count, 5).End(xlUp).Offset(1)
cl.Offset(-3, 0).Copy Sheets("Woensdag").Cells(Rows.Count, 20).End(xlUp).Offset(1)
End If
Next
For Each cl In Sheets("Blad4").Range("E5:DZ5")
If cl = "O" Then cl.Offset(-4, 0).Copy Sheets("Donderdag").Cells(Rows.Count, 2).End(xlUp).Offset(1)
If cl = "D" Then cl.Offset(-4, 0).Copy Sheets("Donderdag").Cells(Rows.Count, 3).End(xlUp).Offset(1)
If cl = "M" Then cl.Offset(-4, 0).Copy Sheets("Donderdag").Cells(Rows.Count, 4).End(xlUp).Offset(1)
If cl = "N" Then cl.Offset(-4, 0).Copy Sheets("Donderdag").Cells(Rows.Count, 5).End(xlUp).Offset(1)
If cl = "" Then cl.Offset(-4, 0).Copy Sheets("Donderdag").Cells(Rows.Count, 6).End(xlUp).Offset(1)
If cl = "RV" Then cl.Offset(-4, 0).Copy Sheets("Donderdag").Cells(Rows.Count, 6).End(xlUp).Offset(1)
If cl = "V" Then cl.Offset(-4, 0).Copy Sheets("Donderdag").Cells(Rows.Count, 7).End(xlUp).Offset(1)
If cl = "LZ" Then cl.Offset(-4, 0).Copy Sheets("Donderdag").Cells(Rows.Count, 8).End(xlUp).Offset(1)
If cl = "OM" Then
cl.Offset(-4, 0).Copy Sheets("Donderdag").Cells(Rows.Count, 2).End(xlUp).Offset(1)
cl.Offset(-4, 0).Copy Sheets("Donderdag").Cells(Rows.Count, 4).End(xlUp).Offset(1)
End If
If cl = "MN" Then
cl.Offset(-4, 0).Copy Sheets("Donderdag").Cells(Rows.Count, 4).End(xlUp).Offset(1)
cl.Offset(-4, 0).Copy Sheets("Donderdag").Cells(Rows.Count, 5).End(xlUp).Offset(1)
End If
If cl = "NO" Then
cl.Offset(-4, 0).Copy Sheets("Donderdag").Cells(Rows.Count, 6).End(xlUp).Offset(1)
cl.Offset(-4, 0).Copy Sheets("Vrijdag").Cells(Rows.Count, 2).End(xlUp).Offset(1)
End If
If cl = "OMN" Then
cl.Offset(-4, 0).Copy Sheets("Donderdag").Cells(Rows.Count, 2).End(xlUp).Offset(1)
cl.Offset(-4, 0).Copy Sheets("Donderdag").Cells(Rows.Count, 4).End(xlUp).Offset(1)
cl.Offset(-4, 0).Copy Sheets("Donderdag").Cells(Rows.Count, 5).End(xlUp).Offset(1)
End If
If cl = "OT" Then
cl.Offset(-4, 0).Copy Sheets("Donderdag").Cells(Rows.Count, 2).End(xlUp).Offset(1)
cl.Offset(-4, 0).Copy Sheets("Donderdag").Cells(Rows.Count, 9).End(xlUp).Offset(1)
End If
If cl = "MT" Then
cl.Offset(-4, 0).Copy Sheets("Donderdag").Cells(Rows.Count, 4).End(xlUp).Offset(1)
cl.Offset(-4, 0).Copy Sheets("Donderdag").Cells(Rows.Count, 10).End(xlUp).Offset(1)
End If
If cl = "NT" Then
cl.Offset(-4, 0).Copy Sheets("Donderdag").Cells(Rows.Count, 5).End(xlUp).Offset(1)
cl.Offset(-4, 0).Copy Sheets("Donderdag").Cells(Rows.Count, 11).End(xlUp).Offset(1)
End If
If cl = "OE" Then
cl.Offset(-4, 0).Copy Sheets("Donderdag").Cells(Rows.Count, 2).End(xlUp).Offset(1)
cl.Offset(-4, 0).Copy Sheets("Donderdag").Cells(Rows.Count, 12).End(xlUp).Offset(1)
End If
If cl = "ME" Then
cl.Offset(-4, 0).Copy Sheets("Donderdag").Cells(Rows.Count, 4).End(xlUp).Offset(1)
cl.Offset(-4, 0).Copy Sheets("Donderdag").Cells(Rows.Count, 13).End(xlUp).Offset(1)
End If
If cl = "NE" Then
cl.Offset(-4, 0).Copy Sheets("Donderdag").Cells(Rows.Count, 5).End(xlUp).Offset(1)
cl.Offset(-4, 0).Copy Sheets("Donderdag").Cells(Rows.Count, 14).End(xlUp).Offset(1)
End If
If cl = "OR" Then
cl.Offset(-4, 0).Copy Sheets("Donderdag").Cells(Rows.Count, 2).End(xlUp).Offset(1)
cl.Offset(-4, 0).Copy Sheets("Donderdag").Cells(Rows.Count, 15).End(xlUp).Offset(1)
End If
If cl = "MR" Then
cl.Offset(-4, 0).Copy Sheets("Donderdag").Cells(Rows.Count, 4).End(xlUp).Offset(1)
cl.Offset(-4, 0).Copy Sheets("Donderdag").Cells(Rows.Count, 16).End(xlUp).Offset(1)
End If
If cl = "NR" Then
cl.Offset(-4, 0).Copy Sheets("Donderdag").Cells(Rows.Count, 5).End(xlUp).Offset(1)
cl.Offset(-4, 0).Copy Sheets("Donderdag").Cells(Rows.Count, 17).End(xlUp).Offset(1)
End If
If cl = "OS" Then
cl.Offset(-4, 0).Copy Sheets("Donderdag").Cells(Rows.Count, 2).End(xlUp).Offset(1)
cl.Offset(-4, 0).Copy Sheets("Donderdag").Cells(Rows.Count, 18).End(xlUp).Offset(1)
End If
If cl = "MS" Then
cl.Offset(-4, 0).Copy Sheets("Donderdag").Cells(Rows.Count, 4).End(xlUp).Offset(1)
cl.Offset(-4, 0).Copy Sheets("Donderdag").Cells(Rows.Count, 19).End(xlUp).Offset(1)
End If
If cl = "NS" Then
cl.Offset(-4, 0).Copy Sheets("Donderdag").Cells(Rows.Count, 5).End(xlUp).Offset(1)
cl.Offset(-4, 0).Copy Sheets("Donderdag").Cells(Rows.Count, 20).End(xlUp).Offset(1)
End If
Next
For Each cl In Sheets("Blad4").Range("E6:DZ6")
If cl = "O" Then cl.Offset(-5, 0).Copy Sheets("Vrijdag").Cells(Rows.Count, 2).End(xlUp).Offset(1)
If cl = "D" Then cl.Offset(-5, 0).Copy Sheets("Vrijdag").Cells(Rows.Count, 3).End(xlUp).Offset(1)
If cl = "M" Then cl.Offset(-5, 0).Copy Sheets("Vrijdag").Cells(Rows.Count, 4).End(xlUp).Offset(1)
If cl = "N" Then cl.Offset(-5, 0).Copy Sheets("Vrijdag").Cells(Rows.Count, 5).End(xlUp).Offset(1)
If cl = "" Then cl.Offset(-5, 0).Copy Sheets("Vrijdag").Cells(Rows.Count, 6).End(xlUp).Offset(1)
If cl = "RV" Then cl.Offset(-5, 0).Copy Sheets("Vrijdag").Cells(Rows.Count, 6).End(xlUp).Offset(1)
If cl = "V" Then cl.Offset(-5, 0).Copy Sheets("Vrijdag").Cells(Rows.Count, 7).End(xlUp).Offset(1)
If cl = "LZ" Then cl.Offset(-5, 0).Copy Sheets("Vrijdag").Cells(Rows.Count, 8).End(xlUp).Offset(1)
If cl = "OM" Then
cl.Offset(-5, 0).Copy Sheets("Vrijdag").Cells(Rows.Count, 2).End(xlUp).Offset(1)
cl.Offset(-5, 0).Copy Sheets("Vrijdag").Cells(Rows.Count, 4).End(xlUp).Offset(1)
End If
If cl = "MN" Then
cl.Offset(-5, 0).Copy Sheets("Vrijdag").Cells(Rows.Count, 4).End(xlUp).Offset(1)
cl.Offset(-5, 0).Copy Sheets("Vrijdag").Cells(Rows.Count, 5).End(xlUp).Offset(1)
End If
If cl = "NO" Then
cl.Offset(-5, 0).Copy Sheets("Vrijdag").Cells(Rows.Count, 6).End(xlUp).Offset(1)
cl.Offset(-5, 0).Copy Sheets("Zaterdag").Cells(Rows.Count, 2).End(xlUp).Offset(1)
End If
If cl = "OMN" Then
cl.Offset(-5, 0).Copy Sheets("Vrijdag").Cells(Rows.Count, 2).End(xlUp).Offset(1)
cl.Offset(-5, 0).Copy Sheets("Vrijdag").Cells(Rows.Count, 4).End(xlUp).Offset(1)
cl.Offset(-5, 0).Copy Sheets("Vrijdag").Cells(Rows.Count, 5).End(xlUp).Offset(1)
End If
If cl = "OT" Then
cl.Offset(-5, 0).Copy Sheets("Vrijdag").Cells(Rows.Count, 2).End(xlUp).Offset(1)
cl.Offset(-5, 0).Copy Sheets("Vrijdag").Cells(Rows.Count, 9).End(xlUp).Offset(1)
End If
If cl = "MT" Then
cl.Offset(-5, 0).Copy Sheets("Vrijdag").Cells(Rows.Count, 4).End(xlUp).Offset(1)
cl.Offset(-5, 0).Copy Sheets("Vrijdag").Cells(Rows.Count, 10).End(xlUp).Offset(1)
End If
If cl = "NT" Then
cl.Offset(-5, 0).Copy Sheets("Vrijdag").Cells(Rows.Count, 5).End(xlUp).Offset(1)
cl.Offset(-5, 0).Copy Sheets("Vrijdag").Cells(Rows.Count, 11).End(xlUp).Offset(1)
End If
If cl = "OE" Then
cl.Offset(-5, 0).Copy Sheets("Vrijdag").Cells(Rows.Count, 2).End(xlUp).Offset(1)
cl.Offset(-5, 0).Copy Sheets("Vrijdag").Cells(Rows.Count, 12).End(xlUp).Offset(1)
End If
If cl = "ME" Then
cl.Offset(-5, 0).Copy Sheets("Vrijdag").Cells(Rows.Count, 4).End(xlUp).Offset(1)
cl.Offset(-5, 0).Copy Sheets("Vrijdag").Cells(Rows.Count, 13).End(xlUp).Offset(1)
End If
If cl = "NE" Then
cl.Offset(-5, 0).Copy Sheets("Vrijdag").Cells(Rows.Count, 5).End(xlUp).Offset(1)
cl.Offset(-5, 0).Copy Sheets("Vrijdag").Cells(Rows.Count, 14).End(xlUp).Offset(1)
End If
If cl = "OR" Then
cl.Offset(-5, 0).Copy Sheets("Vrijdag").Cells(Rows.Count, 2).End(xlUp).Offset(1)
cl.Offset(-5, 0).Copy Sheets("Vrijdag").Cells(Rows.Count, 15).End(xlUp).Offset(1)
End If
If cl = "MR" Then
cl.Offset(-5, 0).Copy Sheets("Vrijdag").Cells(Rows.Count, 4).End(xlUp).Offset(1)
cl.Offset(-5, 0).Copy Sheets("Vrijdag").Cells(Rows.Count, 16).End(xlUp).Offset(1)
End If
If cl = "NR" Then
cl.Offset(-5, 0).Copy Sheets("Vrijdag").Cells(Rows.Count, 5).End(xlUp).Offset(1)
cl.Offset(-5, 0).Copy Sheets("Vrijdag").Cells(Rows.Count, 17).End(xlUp).Offset(1)
End If
If cl = "OS" Then
cl.Offset(-5, 0).Copy Sheets("Vrijdag").Cells(Rows.Count, 2).End(xlUp).Offset(1)
cl.Offset(-5, 0).Copy Sheets("Vrijdag").Cells(Rows.Count, 18).End(xlUp).Offset(1)
End If
If cl = "MS" Then
cl.Offset(-5, 0).Copy Sheets("Vrijdag").Cells(Rows.Count, 4).End(xlUp).Offset(1)
cl.Offset(-5, 0).Copy Sheets("Vrijdag").Cells(Rows.Count, 19).End(xlUp).Offset(1)
End If
If cl = "NS" Then
cl.Offset(-5, 0).Copy Sheets("Vrijdag").Cells(Rows.Count, 5).End(xlUp).Offset(1)
cl.Offset(-5, 0).Copy Sheets("Vrijdag").Cells(Rows.Count, 20).End(xlUp).Offset(1)
End If
Next
For Each cl In Sheets("Blad4").Range("E7:DZ7")
If cl = "O" Then cl.Offset(-6, 0).Copy Sheets("Zaterdag").Cells(Rows.Count, 2).End(xlUp).Offset(1)
If cl = "D" Then cl.Offset(-6, 0).Copy Sheets("Zaterdag").Cells(Rows.Count, 3).End(xlUp).Offset(1)
If cl = "M" Then cl.Offset(-6, 0).Copy Sheets("Zaterdag").Cells(Rows.Count, 4).End(xlUp).Offset(1)
If cl = "N" Then cl.Offset(-6, 0).Copy Sheets("Zaterdag").Cells(Rows.Count, 5).End(xlUp).Offset(1)
If cl = "" Then cl.Offset(-6, 0).Copy Sheets("Zaterdag").Cells(Rows.Count, 6).End(xlUp).Offset(1)
If cl = "RV" Then cl.Offset(-6, 0).Copy Sheets("Zaterdag").Cells(Rows.Count, 6).End(xlUp).Offset(1)
If cl = "V" Then cl.Offset(-6, 0).Copy Sheets("Zaterdag").Cells(Rows.Count, 7).End(xlUp).Offset(1)
If cl = "LZ" Then cl.Offset(-6, 0).Copy Sheets("Zaterdag").Cells(Rows.Count, 8).End(xlUp).Offset(1)
If cl = "OM" Then
cl.Offset(-6, 0).Copy Sheets("Zaterdag").Cells(Rows.Count, 2).End(xlUp).Offset(1)
cl.Offset(-6, 0).Copy Sheets("Zaterdag").Cells(Rows.Count, 4).End(xlUp).Offset(1)
End If
If cl = "MN" Then
cl.Offset(-6, 0).Copy Sheets("Zaterdag").Cells(Rows.Count, 4).End(xlUp).Offset(1)
cl.Offset(-6, 0).Copy Sheets("Zaterdag").Cells(Rows.Count, 5).End(xlUp).Offset(1)
End If
If cl = "NO" Then
cl.Offset(-6, 0).Copy Sheets("Zaterdag").Cells(Rows.Count, 6).End(xlUp).Offset(1)
cl.Offset(-6, 0).Copy Sheets("Zondag").Cells(Rows.Count, 2).End(xlUp).Offset(1)
End If
If cl = "OMN" Then
cl.Offset(-6, 0).Copy Sheets("Zaterdag").Cells(Rows.Count, 2).End(xlUp).Offset(1)
cl.Offset(-6, 0).Copy Sheets("Zaterdag").Cells(Rows.Count, 4).End(xlUp).Offset(1)
cl.Offset(-6, 0).Copy Sheets("Zaterdag").Cells(Rows.Count, 5).End(xlUp).Offset(1)
End If
If cl = "OT" Then
cl.Offset(-6, 0).Copy Sheets("Zaterdag").Cells(Rows.Count, 2).End(xlUp).Offset(1)
cl.Offset(-6, 0).Copy Sheets("Zaterdag").Cells(Rows.Count, 9).End(xlUp).Offset(1)
End If
If cl = "MT" Then
cl.Offset(-6, 0).Copy Sheets("Zaterdag").Cells(Rows.Count, 4).End(xlUp).Offset(1)
cl.Offset(-6, 0).Copy Sheets("Zaterdag").Cells(Rows.Count, 10).End(xlUp).Offset(1)
End If
If cl = "NT" Then
cl.Offset(-6, 0).Copy Sheets("Zaterdag").Cells(Rows.Count, 5).End(xlUp).Offset(1)
cl.Offset(-6, 0).Copy Sheets("Zaterdag").Cells(Rows.Count, 11).End(xlUp).Offset(1)
End If
If cl = "OE" Then
cl.Offset(-6, 0).Copy Sheets("Zaterdag").Cells(Rows.Count, 2).End(xlUp).Offset(1)
cl.Offset(-6, 0).Copy Sheets("Zaterdag").Cells(Rows.Count, 12).End(xlUp).Offset(1)
End If
If cl = "ME" Then
cl.Offset(-6, 0).Copy Sheets("Zaterdag").Cells(Rows.Count, 4).End(xlUp).Offset(1)
cl.Offset(-6, 0).Copy Sheets("Zaterdag").Cells(Rows.Count, 13).End(xlUp).Offset(1)
End If
If cl = "NE" Then
cl.Offset(-6, 0).Copy Sheets("Zaterdag").Cells(Rows.Count, 5).End(xlUp).Offset(1)
cl.Offset(-6, 0).Copy Sheets("Zaterdag").Cells(Rows.Count, 14).End(xlUp).Offset(1)
End If
If cl = "OR" Then
cl.Offset(-6, 0).Copy Sheets("Zaterdag").Cells(Rows.Count, 2).End(xlUp).Offset(1)
cl.Offset(-6, 0).Copy Sheets("Zaterdag").Cells(Rows.Count, 15).End(xlUp).Offset(1)
End If
If cl = "MR" Then
cl.Offset(-6, 0).Copy Sheets("Zaterdag").Cells(Rows.Count, 4).End(xlUp).Offset(1)
cl.Offset(-6, 0).Copy Sheets("Zaterdag").Cells(Rows.Count, 16).End(xlUp).Offset(1)
End If
If cl = "NR" Then
cl.Offset(-6, 0).Copy Sheets("Zaterdag").Cells(Rows.Count, 5).End(xlUp).Offset(1)
cl.Offset(-6, 0).Copy Sheets("Zaterdag").Cells(Rows.Count, 17).End(xlUp).Offset(1)
End If
If cl = "OS" Then
cl.Offset(-6, 0).Copy Sheets("Zaterdag").Cells(Rows.Count, 2).End(xlUp).Offset(1)
cl.Offset(-6, 0).Copy Sheets("Zaterdag").Cells(Rows.Count, 18).End(xlUp).Offset(1)
End If
If cl = "MS" Then
cl.Offset(-6, 0).Copy Sheets("Zaterdag").Cells(Rows.Count, 4).End(xlUp).Offset(1)
cl.Offset(-6, 0).Copy Sheets("Zaterdag").Cells(Rows.Count, 19).End(xlUp).Offset(1)
End If
If cl = "NS" Then
cl.Offset(-6, 0).Copy Sheets("Zaterdag").Cells(Rows.Count, 5).End(xlUp).Offset(1)
cl.Offset(-6, 0).Copy Sheets("Zaterdag").Cells(Rows.Count, 20).End(xlUp).Offset(1)
End If
Next
For Each cl In Sheets("Blad4").Range("E8:DZ8")
If cl = "O" Then cl.Offset(-7, 0).Copy Sheets("Zondag").Cells(Rows.Count, 2).End(xlUp).Offset(1)
If cl = "D" Then cl.Offset(-7, 0).Copy Sheets("Zondag").Cells(Rows.Count, 3).End(xlUp).Offset(1)
If cl = "M" Then cl.Offset(-7, 0).Copy Sheets("Zondag").Cells(Rows.Count, 4).End(xlUp).Offset(1)
If cl = "N" Then cl.Offset(-7, 0).Copy Sheets("Zondag").Cells(Rows.Count, 5).End(xlUp).Offset(1)
If cl = "" Then cl.Offset(-7, 0).Copy Sheets("Zondag").Cells(Rows.Count, 6).End(xlUp).Offset(1)
If cl = "RV" Then cl.Offset(-7, 0).Copy Sheets("Zondag").Cells(Rows.Count, 6).End(xlUp).Offset(1)
If cl = "V" Then cl.Offset(-7, 0).Copy Sheets("Zondag").Cells(Rows.Count, 7).End(xlUp).Offset(1)
If cl = "LZ" Then cl.Offset(-7, 0).Copy Sheets("Zondag").Cells(Rows.Count, 8).End(xlUp).Offset(1)
If cl = "OM" Then
cl.Offset(-7, 0).Copy Sheets("Zondag").Cells(Rows.Count, 2).End(xlUp).Offset(1)
cl.Offset(-7, 0).Copy Sheets("Zondag").Cells(Rows.Count, 4).End(xlUp).Offset(1)
End If
If cl = "MN" Then
cl.Offset(-7, 0).Copy Sheets("Zondag").Cells(Rows.Count, 4).End(xlUp).Offset(1)
cl.Offset(-7, 0).Copy Sheets("Zondag").Cells(Rows.Count, 5).End(xlUp).Offset(1)
End If
If cl = "NO" Then
cl.Offset(-7, 0).Copy Sheets("Zondag").Cells(Rows.Count, 6).End(xlUp).Offset(1)
End If
If cl = "OMN" Then
cl.Offset(-7, 0).Copy Sheets("Zondag").Cells(Rows.Count, 2).End(xlUp).Offset(1)
cl.Offset(-7, 0).Copy Sheets("Zondag").Cells(Rows.Count, 4).End(xlUp).Offset(1)
cl.Offset(-7, 0).Copy Sheets("Zondag").Cells(Rows.Count, 5).End(xlUp).Offset(1)
End If
If cl = "OT" Then
cl.Offset(-7, 0).Copy Sheets("Zondag").Cells(Rows.Count, 2).End(xlUp).Offset(1)
cl.Offset(-7, 0).Copy Sheets("Zondag").Cells(Rows.Count, 9).End(xlUp).Offset(1)
End If
If cl = "MT" Then
cl.Offset(-7, 0).Copy Sheets("Zondag").Cells(Rows.Count, 4).End(xlUp).Offset(1)
cl.Offset(-7, 0).Copy Sheets("Zondag").Cells(Rows.Count, 10).End(xlUp).Offset(1)
End If
If cl = "NT" Then
cl.Offset(-7, 0).Copy Sheets("Zondag").Cells(Rows.Count, 5).End(xlUp).Offset(1)
cl.Offset(-7, 0).Copy Sheets("Zondag").Cells(Rows.Count, 11).End(xlUp).Offset(1)
End If
If cl = "OE" Then
cl.Offset(-7, 0).Copy Sheets("Zondag").Cells(Rows.Count, 2).End(xlUp).Offset(1)
cl.Offset(-7, 0).Copy Sheets("Zondag").Cells(Rows.Count, 12).End(xlUp).Offset(1)
End If
If cl = "ME" Then
cl.Offset(-7, 0).Copy Sheets("Zondag").Cells(Rows.Count, 4).End(xlUp).Offset(1)
cl.Offset(-7, 0).Copy Sheets("Zondag").Cells(Rows.Count, 13).End(xlUp).Offset(1)
End If
If cl = "NE" Then
cl.Offset(-7, 0).Copy Sheets("Zondag").Cells(Rows.Count, 5).End(xlUp).Offset(1)
cl.Offset(-7, 0).Copy Sheets("Zondag").Cells(Rows.Count, 14).End(xlUp).Offset(1)
End If
If cl = "OR" Then
cl.Offset(-7, 0).Copy Sheets("Zondag").Cells(Rows.Count, 2).End(xlUp).Offset(1)
cl.Offset(-7, 0).Copy Sheets("Zondag").Cells(Rows.Count, 15).End(xlUp).Offset(1)
End If
If cl = "MR" Then
cl.Offset(-7, 0).Copy Sheets("Zondag").Cells(Rows.Count, 4).End(xlUp).Offset(1)
cl.Offset(-7, 0).Copy Sheets("Zondag").Cells(Rows.Count, 16).End(xlUp).Offset(1)
End If
If cl = "NR" Then
cl.Offset(-7, 0).Copy Sheets("Zondag").Cells(Rows.Count, 5).End(xlUp).Offset(1)
cl.Offset(-7, 0).Copy Sheets("Zondag").Cells(Rows.Count, 17).End(xlUp).Offset(1)
End If
If cl = "OS" Then
cl.Offset(-7, 0).Copy Sheets("Zondag").Cells(Rows.Count, 2).End(xlUp).Offset(1)
cl.Offset(-7, 0).Copy Sheets("Zondag").Cells(Rows.Count, 18).End(xlUp).Offset(1)
End If
If cl = "MS" Then
cl.Offset(-7, 0).Copy Sheets("Zondag").Cells(Rows.Count, 4).End(xlUp).Offset(1)
cl.Offset(-7, 0).Copy Sheets("Zondag").Cells(Rows.Count, 19).End(xlUp).Offset(1)
End If
If cl = "NS" Then
cl.Offset(-7, 0).Copy Sheets("Zondag").Cells(Rows.Count, 5).End(xlUp).Offset(1)
cl.Offset(-7, 0).Copy Sheets("Zondag").Cells(Rows.Count, 20).End(xlUp).Offset(1)
End If
Next