+ Reply to Thread
Results 1 to 2 of 2

[help with code] need to update existing code to copy and keep rows on input page

  1. #1
    Forum Contributor
    Join Date
    07-08-2015
    Location
    Indiana
    MS-Off Ver
    Excel 2007
    Posts
    128

    [help with code] need to update existing code to copy and keep rows on input page

    Hello all-
    I have been asked to update my code that I am using to now do the following:

    Read data from the tab called 2016 rejects. copy the contents into an existing page that will tabulate the totals from that specific page, AND NOW keep the original data on the input page (called 2016 Rejects).

    Thanks in advance for your assistance.

    I know that the .clearcontents command will need to be taken off each to leave original input data.

    BUT, what code will need to be added, changed, to read the newly input data, and copy it --- NOT the data from before? I have searched and think it will be with my "FOR r= last row of old data +1" will do it. But I am not sure how to store the last line of data read so I know where to pick up with each time.

    Here is the code:

    Please Login or Register  to view this content.

  2. #2
    Forum Expert
    Join Date
    07-31-2010
    Location
    California
    MS-Off Ver
    Excel 2007
    Posts
    4,070

    Re: [help with code] need to update existing code to copy and keep rows on input page

    Both your code and your post are very confusing. I recommend that you submit an example workbook with before and after expectations.

    With that being said I have scaled down your code to what I think is a more manageable representation. Once you supply more information I can proceed forward.

    Please Login or Register  to view this content.
    If you are happy with my response please click the * in the lower left of my post.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. update existing code to copy and KEEP existing data
    By scott micklo in forum Excel Programming / VBA / Macros
    Replies: 20
    Last Post: 01-26-2016, 05:41 PM
  2. [SOLVED] Help with an existing VBA code to transfer data to 1st page then to overflow page 2.
    By ElmerFud in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 01-20-2016, 11:53 AM
  3. vba code to copy number of rows in based on the input message
    By prabhuduraraj09 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-12-2014, 12:38 AM
  4. Replies: 4
    Last Post: 08-28-2014, 02:23 AM
  5. Replies: 2
    Last Post: 12-17-2013, 11:51 AM
  6. [SOLVED] VB Code help to change/update existing code
    By JDobbsy1987 in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 10-24-2013, 04:46 PM
  7. Putting Input box into existing code
    By jpthelpguy in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-23-2009, 02:14 AM

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