SHARE
TWEET

Untitled

a guest Jul 17th, 2019 50 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Sub copyrecursive()
  2.  
  3. Dim ws As Worksheet
  4.  
  5. Dim R As Range
  6.  
  7. For Each ws In ActiveWorkbook.Worksheets
  8.  
  9.     For Each R In Range("A1:E2").Rows
  10.  
  11.         ws.Range("A1:E1").copy
  12.  
  13.         Worksheets("Sheet7").R.PasteSpecial
  14.  
  15.     Next R
  16.  
  17. Next ws
  18.  
  19. End Sub
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top