Guest User

Untitled

a guest
May 20th, 2018
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. Sub test()
  2. '
  3. ' test Macro
  4.  
  5. '
  6. Dim i As Integer
  7.  
  8. For i = 2 To 350
  9. For j = 2 To 700
  10. If (Sheet1.Cells(j, 4) = Cells(i, 1)) Then
  11. Cells(i, 4) = Sheet1.Cells(j, 3)
  12. Exit For
  13. End If
  14.  
  15. Next j
  16. Next i
  17.  
  18.  
  19.  
  20. End Sub
Add Comment
Please, Sign In to add comment