+ Reply to Thread
Results 1 to 4 of 4

Copy data from sheet1 to the end of row with data in sheet2

  1. #1
    Registered User
    Join Date
    08-31-2012
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    87

    Copy data from sheet1 to the end of row with data in sheet2

    Hi,

    I have this code below that i want to modify. What this code does is basically copying data from sheet "FRP" to sheet "Sheet2".

    The data from "FRP" will be pasted at the end of data in "Sheet2" (e.g. if "Sheet2" has data until row 2000, data from Sheet "FRP" will begin pasted down in row 2001)

    The problem with this code is with the one that I highlighted blue. Because of the blue colored code, the data will be copy-pasted in row A1528 while "Sheet2" might contain data until row 2100, 2200, 3000, 4000, and so forth.

    Is there anyway to modify this so that data from "FRP" will start copied down to the end of data in "Sheet2"?

    Thanks!



    Please Login or Register  to view this content.

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

    Re: Copy data from sheet1 to the end of row with data in sheet2

    Try this
    Please Login or Register  to view this content.
    Change the column X to whatever is the last column in your file.
    If I have 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
    08-31-2012
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    87

    Re: Copy data from sheet1 to the end of row with data in sheet2

    Works perfectly! Thanks!

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

    Re: Copy data from sheet1 to the end of row with data in sheet2

    If you are satisfied with the solution(s) provided, please mark your thread as Solved.

    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

    I will do it for you this time.
    Last edited by arlu1201; 09-20-2012 at 02:11 PM.

+ 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