+ Reply to Thread
Results 1 to 3 of 3

Thread: Appending worksheet to another (identical) one in Excel 2007

  1. #1
    Registered User
    Join Date
    01-14-2012
    Location
    California
    MS-Off Ver
    Excel 2007
    Posts
    2

    Appending worksheet to another (identical) one in Excel 2007

    I have two Excel 2007 worksheets with identical formats. How do I append the second one to the first one to form a single resulting worksheet?

  2. #2
    Forum Moderator arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    4,406

    Re: Appending worksheet to another (identical) one in Excel 2007

    If its a simple copy paste, just select the data in the 2nd sheet (without the headers, so start at row2) and press Ctrl+C and then go to your last row of the first worksheet and press Ctrl+V.
    If you want to do it thru macro use this code -
    worksheets(2).rows("2:10").copy worksheets(1).range("A" & rows.count).end(xlup).offset(1,0)
    Cheers,
    Arlette

    If I helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  3. #3
    Registered User
    Join Date
    01-14-2012
    Location
    California
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Appending worksheet to another (identical) one in Excel 2007

    Quote Originally Posted by arlu1201 View Post
    If its a simple copy paste, just select the data in the 2nd sheet (without the headers, so start at row2) and press Ctrl+C and then go to your last row of the first worksheet and press Ctrl+V.
    If you want to do it thru macro use this code -
    worksheets(2).rows("2:10").copy worksheets(1).range("A" & rows.count).end(xlup).offset(1,0)
    S O L V E D !
    One suggestion -- include instruction that the worksheets to be combined must be visible. Best way is to place them into the Desktop before performing the steps outlined. When I'll have a little more time, I will try your suggested macro coding.
    Thanks! <CharleyDog>

+ 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.2.0