Advertisement
Guest User

Untitled

a guest
Feb 20th, 2014
40
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. Sub test()
  2. **Sheets("Sheet1").Select
  3. If Range("A1") = Range("C1") Then
  4. If Range("B1").Value > "0" Then
  5. Range("B1").Copy
  6. Sheets("Sheet2").Select
  7. Range("B1").PasteSpecial xlPasteValues
  8. else
  9. end if
  10. else
  11. end if
  12. end sub
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement