+ Reply to Thread
Results 1 to 2 of 2

Copy Range of data from sheet1 and sheet2 paste it in sheet3

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    06-15-2012
    Location
    beirut
    MS-Off Ver
    Excel 2007
    Posts
    215

    Copy Range of data from sheet1 and sheet2 paste it in sheet3

    i have 3 sheets , i have data in column B to F in sheet1 and sheet2 ,
    what i need is a Macro to copy Range of data of sheet1 (column B2:F) to sheet3 column B2:F , then copy the Range of data of sheet2 ( column B2:F ) and paste it in sheet3 under the data that moved from sheet1 .

    see attached file as Example

  2. #2
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Copy Range of data from sheet1 and sheet2 paste it in sheet3

    Sub copy()
    
    Dim ws As Worksheet
    
     For Each ws In ThisWorkbook.Sheets(Array("sheet1", "sheet2"))
        With ws
            .Range("B2").CurrentRegion.Offset(1).copy Sheets("sheet3").Range("B" & Rows.Count).End(xlUp).Offset(1)
      
        End With
    
     Next
    
    End Sub

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1