Advertisement
Guest User

Untitled

a guest
Dec 14th, 2017
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. For Each Cell In ColorRange
  2. If Cell.Value = "BACKORDER" And (i = 0) Then
  3. Sheets(1).Copy After:=Sheets(Sheets.Count)
  4. Set Mech = ActiveSheet
  5. Mech.Name = inputWO + " " + "Mech"
  6. i = 1
  7. ElseIf Cell.Value = "ON ORDER" And (i = 0) Then
  8. Sheets(1).Copy After:=Sheets(Sheets.Count)
  9. Set Mech = ActiveSheet
  10. Mech.Name = inputWO + " " + "Mech"
  11. i = 1
  12. End If
  13. If Cell.Value = "ISSUED" Then
  14. Cell.EntireRow.Delete
  15. End If
  16. Next
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement