Option Explicit
Sub TakeOff()
Dim ws As Worksheet, i As Long
Dim sh As Worksheet, lr2 As Long
Set sh = Sheets("Take off")
Dim lr As Long
Application.ScreenUpdating = False
For Each ws In Worksheets
If ws.Name <> "Summary" Then
If ws.Name <> "Take off" Then
lr = ws.Range("C" & Rows.Count).End(xlUp).Row
For i = 1 To lr
lr2 = sh.Range("C" & Rows.Count).End(xlUp).Row
If ws.Range("A" & i) = 1 Then
ws.Range("B" & i & ":U" & i).Copy
sh.Range("B" & lr2 + 1).PasteSpecial xlPasteValues
End If
Next i
End If
End If
Next ws
Application.CutCopyMode = False
Application.ScreenUpdating = True
MsgBox "Action Completed"
End Sub
Bookmarks