+ Reply to Thread
Results 1 to 4 of 4

copying a range to first empty row is copying over data

  1. #1
    Registered User
    Join Date
    06-05-2009
    Location
    Charlotte
    MS-Off Ver
    Excel 2007
    Posts
    19

    copying a range to first empty row is copying over data

    I have a form, that is to be used repeatedly. The info is parsed to a temp sheet in the same workbook where it is organized correctly and then copied to a different workbook, a batch file. I have two problems. 1, it's duplicating the first three rows of data from my source file when pasting to my destination file. 2, It's overwriting every previous row of data in my destination file instead of finding the first empty row and concatenating the data.

    Heres my code.

    Please Login or Register  to view this content.

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: copying a range to first empty row is copying over data

    Maybe like this (untested):
    Please Login or Register  to view this content.
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    06-05-2009
    Location
    Charlotte
    MS-Off Ver
    Excel 2007
    Posts
    19

    Re: copying a range to first empty row is copying over data

    Thank you very much, works like a charm. Sir, I owe you a great debt of gratitude.

  4. #4
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: copying a range to first empty row is copying over data

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

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

+ 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