Advertisement
Guest User

Untitled

a guest
Jun 19th, 2019
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. For Each Cell In Range("A24:A224")
  2. For Each ws In ThisWorkbook.Worksheets
  3. For Each i In ThisWorkbook.ActiveSheet.Range("G2:H200")
  4. If Cell.Value = i.Value Then
  5. ActiveCell.Offset(0, 1).Select
  6. Cell.Value = Cell.Value + i.Value
  7. End If
  8. Next i
  9. Next ws
  10. Next Cell
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement