+ Reply to Thread
Results 1 to 5 of 5

Copy/Paste range of data excluding certain rows and copy to another workbook

  1. #1
    Registered User
    Join Date
    09-07-2012
    Location
    Auburn, AL
    MS-Off Ver
    Excel 2010
    Posts
    4

    Copy/Paste range of data excluding certain rows and copy to another workbook

    I have been working on this VBA program for a while now and I finally got it to function but a new challenge was added. As of now this program opens an excel sheet (wb1) and copies a large range of data to another excel sheet (wb2). I need it to mark the last column (T) of a row as "saved" in wb1 after it copies and then on the next run, disregard the rows that are marked "saved" in wb1. I posted this problem in another forum with no responses. http://www.ozgrid.com/forum/showthre...803#post635803.

    Please Login or Register  to view this content.

  2. #2
    Valued Forum Contributor
    Join Date
    11-02-2012
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003, 2007, 2010
    Posts
    564

    Re: Copy/Paste range of data excluding certain rows and copy to another workbook

    Hi,

    I would do this by one of below.
    1. Designate a cell in wb1 to caputure the row address of saved data. Then write a routine to start copying from next row.
    2. Apply some color to the last copied row and write code to start copying from a row after that color. You can clear the existing color after the macro runs and apply color to last row of newly saved data.
    3. If data is wb1 and wb2 is continuous, write a code to count rows in wb2 (already saved data) and start copying from wb1 after this count.

  3. #3
    Registered User
    Join Date
    09-07-2012
    Location
    Auburn, AL
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Copy/Paste range of data excluding certain rows and copy to another workbook

    I will pay anyone who writes the program I have described $20 (USD) via PayPal upon completion.

  4. #4
    Valued Forum Contributor
    Join Date
    11-02-2012
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003, 2007, 2010
    Posts
    564

    Re: Copy/Paste range of data excluding certain rows and copy to another workbook

    Upload your workbook.

  5. #5
    Registered User
    Join Date
    09-07-2012
    Location
    Auburn, AL
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Copy/Paste range of data excluding certain rows and copy to another workbook

    I need it to make each row that it copies with a letter in Column "T". Then the next time it runs I'd like for it to skip those rows that are already marked in column "T". I am horrible at VBA

    Please Login or Register  to view this content.
    Last edited by HoerbigAdm; 12-12-2012 at 02:54 PM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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